doc/source/development/documentation.rst
Documentation
.. contents:: Documentation: :local:
doc/source/...doc/source/reference/api is autogenerated by Sphinx and not included in git.To build the documentation locally, follow these steps:
Install Required Dependencies:
.. code-block:: bash
pip install -e ".[dev]"
Build with Sphinx:
.. code-block:: bash
sphinx-build -b html doc/source doc/_build/html
View Documentation Locally:
.. code-block:: bash
python -m http.server -d ./doc/_build/html
Then open "localhost:8000" in browser
Merge into main branch triggers auto-generating documentation by action .github/workflows/deploy_doc.yml.
This publishes the generated HTML into branch documentation.
Review the changes locally and push to dev.
When dev gets merged to main, GitHub Actions workflow is automated to build documentation.