User documentation workflowΒΆ

We use Sphinx to generate documentation and Read the Docs to publish it. Sphinx uses reStructuredText. To learn more about the syntax, check out this quick reference.

Peparation

Current work directory: nest-desktop/docs. To install sphinx and readthedocs theme via pip:

python3 -m pip install sphinx sphinx_rtd_theme

Rendering HTML offline

Build sphinx documentation in docs/_build folder offline:

rm -r _build/; make html

Pushing to Read the Docs

It automatically builds docs for master when pulling commits to master. Docs for latest and stable depends on their github tags.