I have a project on Github that has a directory containing some automatically generated HTML documentation. I would like to use that documentation within Github's project pages facility.
So, I've read the instructions on how to create the project's gh-pages root branch. This effectively creates an empty branch.
What I'd like help with is mirroring the html files in the
Answering my own question here... have achieved what I wanted with Git submodules.
I basically copied what's detailed in this sake task, but in summary:
docspath into a temp folder. Commit changes.
gh-pagesbranch as per the usual instructions
gh-pagesbranch. Commit changes.
gh-pagesas a submodule in the