Auto-deploying Doxygen documentation to gh-pages with Travis CI
This explains how to setup for GitHub projects which automatically generates Doxygen code documentation and publishes the documentation to the
Sign up for Travis CI and add your project
gh-pages branch using Travis CI.
This way only the source files need to be pushed to GitHub and the gh-pages branch is automatically updated with the generated Doxygen documentation.
Get an account at Travis CI. Turn on Travis for your repository in question, using the Travis control panel.
Create a clean
To create a clean
gh-pages branch, with no commit history, from the master branch enter the code below in the Git Shell. This will create a gh-pages branch with one file, the
README.md in it. It doesn't really matter what file is uploaded in it since it will be overwritten when the automatically generated documentation is published to th