This documentation is hosted by Read The Docs: http://kubenow.readthedocs.io/.
Every time there is a change in the documentation, Read The Docs will automatically rebuild it and publish it. However, for testing purposes it's good to know how to built it locally.
To build the documentation locally you will need Sphinx, and the RDT theme:
pip install sphinx sphinx-autobuild
sudo pip install sphinx_rtd_theme
To build the documentation please run:
make html
If everithing goes well, the docs will be generated in the _build
directory
It is convenient to dynamically build the documentation as changes are made. The following command will start a web server on port 8000
, that you can use to see changes in the documentation while you are editing it.
sphinx-autobuild . _build
- Sometimes, when building locally, the sidebar doesn't update properly. To fix this, remove manually the
_build
folder.