This site is hosted on github pages and is generated by mkdocs and mkdocs-material
The static files for the website are served out from the gh-pages
branch. They are automatically generated and committed by mk-docs
.
A Jenkins hook automatically builds and deploys this repository on any push to the master branch. Therefore removing the need to set up local dev environments for contributing to the documentation.
Directly commit any changes to the master branch to publish a new version of the website. This includes editing md files or config (in mkdocs.yml
) and adding new pages and assets.
- Clone this repo
- Install mkdocs & mkdocs-material as per these instructions
- Run this command in project dir
mkdocs serve
- Make sure you've previewed the changes with
mkdocs serve
- Make sure your local repo is up to date
- Run this command
mkdocs gh-deploy
- See the file
mkdocs.yml
for site config - Check out the docs for mkdocs and mkdocs-material