Welcome to the documentation. This documentation relies on Sphinx to publish HTML docs from markdown files written with restructured text (RST).
This README assumes you have Sphinx v5.0.2 or above installed on your system.
Within docs update the associated restructured text (.rst) files. These files represent the corresponding document pages.
- Ensure you have the
furotheme installed:
pip install furo
- Ensure you have
Sphinx designinstalled:
pip install sphinx-design
- Ensure you have
Sphinx Copy Buttoninstalled:
pip install sphinx-copybutton
- Ensure you have
Sphinx Tabsinstalled:
pip install sphinx-tabs
- Ensure you have
Sphinx Not Foundcomponent installed:
pip install sphinx-notfound-page
- Ensure you have
Google Analyticscomponent installed:
pip install sphinxcontrib-googleanalytics
- From the "docs" location run:
sphinx-build -b html . build/html
This then creates the HTML documentation within build/html.
Use:
sphinx-build -a -b html . build/htmlto build all, including the assets in_static(important if you have updated CSS).
- Alternatively you can also use Sphinx Autobuild and do:
sphinx-autobuild . _build/html
This will ensure that the documentation runs in a localhost and will also hot-reload changes.
On Windows you may need to trigger Sphinx builds with more dedicated, direct commands, for example:
Check Sphinx is installed & version:
python -m sphinx sphinx-build --version
Build the docs:
python -m sphinx -a -b html . build/html
For full details see: Using Sphinx
