Install miniconda first.
conda env create -f environment.yml
conda activate docsInstall Sphinx and plugins:
pip install sphinx autodoc recommonmark sphinx-rtd-themeGenerate HTML:
cd docs
make htmlRun HTTP server:
cd docs/_build/html
python -m http.server 8000Don't forget to change the version in docs/conf.py before generating.
release = "<VERSION>"Generated documentation will be in docs/_build/html.
Documentation for GitHub Pages is placed in following branch
gh-pages.
Folders:
devfolder contains current documentation for default branch.0.12.0folder and other similar folders contain documentation for releases.latestfolder is a link to the latest release folder.
Copy generated documentation into corresponding folder and create pull request
to gh-pages branch.