Documentation

Building the documentation locally

Building the documentation locally requires a working installation of Pandoc plus a number of Python dependencies that can be installed by executing the following from the docs directory:

pip install -r requirements.txt

Once that is done, the HTML documentation can be built by issuing (in the same directory):

make html

An alternative to the last two steps is to run tox -e docs in the project root in order to use the tox environment that is used to build the documentation by the continuous integration tests. Note that this still requires the manual installation of Pandoc.

Avoiding to version Jupyter output cells

There are several workarounds to avoid versioning in Git the cell outputs and other notebook metadata, see e.g. https://github.com/kynan/nbstripout.

Some examples of good Sphinx/Markdown/Jupyter documentation and other thinks to have a look at

  • https://calculus-notes.readthedocs.io/en/latest/

  • https://ovh.mybinder.org/