Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Documentation

This directory hosts the documentation. We use Sphinx for this. If you want to build the documentation, you need to install a few unique dependencies that are listed in the optional docs and examples groups in the top-level pyproject.toml. You can install those groups using poetry install --with docs,examples.

The Makefile in this directory can be used to build the documentation. Running the command poetry run make help from this directory provides an overview of the available options. In particular poetry run make html is useful, as that will build the documentation in the exact same way as it will be displayed on the website later.

Alternatively, one can run poetry run make html --directory=docs from the project root as well.

Finally, all Sphinx-related settings are configured in docs/source/conf.py.

Skipping the example notebooks

The example notebooks are all executed by default when building the documentation. This can take a long time, so it is possible to skip execution when building the documentation locally. To do so, simply set the SKIP_NOTEBOOKS environmental variable when building the documentation, like so

SKIP_NOTEBOOKS=1 poetry run make html --directory=docs