Add autosectionlabel
@@ -63,7 +63,8 @@ extensions = [
'sphinx.ext.ifconfig',
'sphinx_tabs.tabs',
'sphinx_copybutton',
- 'sphinx.ext.intersphinx'
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.autosectionlabel'
]
if versionbanner:
extensions.append('versionwarning.extension')
@@ -72,6 +73,8 @@ intersphinx_mapping = {
'rtrtr': ('https://rtrtr.docs.nlnetlabs.nl/en/stable/', None)
}
+autosectionlabel_prefix_document = True
+
# Add any paths that contain templates here, relative to this directory.
# The suffix(es) of source filenames.
