Configuration

This extension pre-configures the Sphinx workspace with default settings and provides common styles for HTML and LaTeX output. It significantly reduces copy/paste between different Sphinx configuration files and harmonizes the look and feel of documentations.

The following default configuration can be overwritten (if really needed!) by adding a file extend_conf.py next to conf.py. This file must provide a function def extend_conf(config: dict). The loading order of the configurations is conf.py, then this extension and finally extend_conf.py.

Common

HTML

  • Sets Read the Docs as theme and changes some default settings

  • Makes the navigation bar in HTML output a little bit wider

  • Allows up to six navigation levels in the navigation bar

  • Makes navigation bar sticky

  • Wraps text in tables by default

  • Adds a small superscripted icon after external links

  • Hides previous/next page buttons

  • Removes the Generated with Sphinx text from the footer

  • Adds the build date to the page footer

  • Adds the build type (unofficial/offical) to the page footer

  • Adds an optional Footer String to the page footer

  • Adds Data Classification

  • Adds Document Status

  • Adds Text Colors

  • Adds Colored Tables

  • Adds raw-html role

  • Removes the integrity-check for script files.
    This prevents problems with cross-origin resource sharing e.g. when trying to load jQuery.

  • Replaces style for download role (e.g. download this page)

LaTeX

  • Configures LaTeX exporter to handle special unicode characters