I have published http://cppalliance.com from https://github.com/CPPAlliance/cppalliance.github.io
As you can see, there’s a CNAME. Everything is great, the page renders as it should and when I push changes the pages get rebuilt.
However, multiple people are working on this now. Similarly to how a team might collaborate on building a C++ program, I have made a fork of the repository in my personal account:
Now I can make changes, rebase, squash, fold, and generally arrange the branch any way that I want before submitting it as a pull request to the upstream repository. A problem arises, how to preview the changes before the merge? Well, I can visit the Project GitHub Page:
I can see some of my content, but where did the style sheet go? Is this because the URI is not a root target?
I am also getting an error in my email about the CNAME being taken. Well, that makes sense. We can’t have every fork also be aliased to cppalliance.com. But I also don’t want to get this error every time. I could delete the CNAME file from my fork, but that would create headaches when merging the submitted pull request to the upstream repository. Is there a way to disable the CNAME from my fork’s Project’s settings? I don’t see it - consider adding it.
Anyway, I would very much like to get to a point where the team members can preview change to their individual forks before submitting the pull request, using the wonderful GitHub Project Pages mechanism described in the docs.