remove_sections

Remove the section tags from docutils output.

Attention

This extension is enabled automatically when using the artisan theme.

Usage

Custom themes

You can enable this extension by adding the following to your conf.py file.

extensions = [
  "sphinx_artisan_theme.ext.remove_sections",
  ...
]

Reference

Remove section tags from sphinx html output.

setup(app)

Registration callback.

Setup the extension with sphinx

Parameters:

app (Sphinx) – the sphinx application

Return type:

dict[str, Any]