Building the documentation

Building the documentation#

In order to build the documentation in the docs directory, you will need to have the Sphinx Python package. Yyou will need several Sphinx extensions that can be installed directly with pip:

pip install -r docs/requirements.txt

Build as a webpage#

To build the documentation as a html webpage (what appears at https://h-transport-materials.readthedocs.io):

cd docs
make.bat html

Test the documentation#

The code blocks and examples given in the documentation can be tested by running:

cd docs
make.bat doctest

The documentation is also automatically tested as part of the CI.