Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.04 KB

CONTRIBUTING.md

File metadata and controls

51 lines (37 loc) · 1.04 KB

Contributing

Documentation

Conda environment for documentation

Install miniconda first.

conda env create -f environment.yml
conda activate docs

Generating documentation

Install Sphinx and plugins:

pip install sphinx autodoc recommonmark sphinx-rtd-theme

Generate HTML:

cd docs
make html

Run HTTP server:

cd docs/_build/html
python -m http.server 8000

Don't forget to change the version in docs/conf.py before generating.

release = "<VERSION>"

Generated documentation will be in docs/_build/html.

Uploading to GitHub Pages

Documentation for GitHub Pages is placed in following branch gh-pages.

Folders:

  • dev folder contains current documentation for default branch.
  • 0.12.0 folder and other similar folders contain documentation for releases.
  • latest folder is a link to the latest release folder.

Copy generated documentation into corresponding folder and create pull request to gh-pages branch.