Documentation#
Some notes about the Sphinx and Read-The-Docs (RTD) documentation builders:
The documentation has two sections, the user documentation section with files located in the ‘wiki’ directory and developer documentation in the
dev_docsdirectory. When a PDF is generated, only the wiki version is included.Requirements for the docs can be installed via
pip install -r doc/rtd_requirements.txt.For MacOS pdf builds you may need to install
pangoas followsbrew install pango. Seesphinx_simplepdfdocs at the link below.
The build can be configured in
doc/conf.py.To build pdf locally run
sphinx-build -M html docor in thedocfoldermake html. The html will be built in_build/html/index.html
To use markdown files, i.e
.mdfiles, themyst_parserextension is used. Documentation formyst_parser.To convert the docs to PDF,
sphinx_simplepdfextension is used.The RTD build is configured in
.readthedocs.yamlunder thecommandslist.If
sphinx_simplepdfever breaks, you can remove the custom build instructions there.To build pdf locally run
sphinx-build -M simplepdf . _build.
As of this version, the color scheme for the docs are the following (can be changed in
doc/conf.py):primary_color = '#000000'secondary_color = '#FFD587'text_color = '#000000'
If creating a page without listing it in the toctree, add the page to
doc/wiki/orphan_pages.rst.If you do not do this, you will get the following error:
WARNING: document isn't included in any toctree.