Never forget to update the project documentation. Most likely, it is based on Sphinx and resides in the docs/ directory.

To build the docs locally, have a look at the make Documentation Targets. To build the docs during the CI pipeline, have a look at the docs GitLab CI file.


Feel free to have a look at the source code of this documentation by either browsing the GitLab project or using the Edit on GitLab links in the header.

Get started with Sphinx

Here are some good resources to get started with Sphinx:


One big advantage of Sphinx is an extension called Intersphinx, which can generate automatic links to the documentation of objects in other projects.


To see all links of an Intersphinx mapping file, you can use the following command:

python3 -msphinx.ext.intersphinx {URL to .inv file}

PlantUML in Sphinx

When you’re looking to include diagrams in your docs, have a look at the PlantUML chapter. There’s a Sphinx PlantUML Plugin, which can be installed & configured to leverage the plantuml-client:

extensions = [
    # …
    # …

plantuml = 'plantuml-client'