Custom roles

Doctools custom Sphinx roles allow better linking, such as git links, and formatting, like font coloring.

Below, every added role is explained with examples.

Note

Link-like roles use the :role:`text <link>` synthax, like external links, but without the undescore in the end.

Color

To print text in red or green, use :red:`text` and :green:`text`.