Skip to content

Latest commit

 

History

History

README.md

Documentation

Documentation types:

API Doc

Built with sphinx usig the ReST markup language, autosummary, and a bunch of other sphinx extensions.

command to build the documentation (it must be executed in the docs folder):

sphinx-build . _build -j auto

Doc coverage

it is possible to check the class coverage, i.e. whether some missing classes and for syntax errors using the command:

sphinx-build -b coverage . _build

in conf.py you find a list undocumented_classes_to_ignore. This keeps track of the classes that we don't want to add to the apidoc. Add a class here if you believe it should not be documented in the apidoc. Ideally, this should be kept to a minimum.

Check for errors

Due to a bug in sphinx, we have lots of warnings. You can silence them by changing the class template by renaming _templates/autosummary/documented-methods-class.rst into _templates/autosummary/class.rst to disable the documentation of attributes.