Closed lwjohnst86 closed 5 years ago
I like option 2 - use published
(or a similar name) for the main branch and use Travis to build that and push it to master
(which nobody ever commits to directly). This lets us keep everything in one repository, which I believe will make management a lot easier during development.
We've got a problem when building into a
gh-pages
branch when the main repo is called*.github.io
. When a repo is appended with.github.io
, the source material seems to be required to be in the parent folder... which won't work with with thegh-pages
route or thedocs/
folder route. If we rename the repo (as I suggested in #28) then we can use thegh-pages
route but then the URL looks something likemerely-useful.github.io/merely-useful
... which isn't ideal.A couple workarounds that I can think of...
main
orsource
. Then with some scripts we can have each individual individual book pushed to their respective reposstill-magic
andone-extra-fact
. Each book would then have the output look something likemerely-useful.github.io/still-magic
andmerely-useful.github.io/one-extra-fact
.I think in the end having two URL paths for each of the two books would be desirable, but that may take some additional considerations before doing that. We could for now do 2 and later on do something like 1.