Skip to content

Commit 506cea3

Browse files
committed
Enable automatic section heading labels in the docs.
1 parent 991e62e commit 506cea3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# coming with Sphinx (named "sphinx.ext.*") or your custom ones.
2626
extensions = [
2727
"sphinx.ext.autodoc",
28+
"sphinx.ext.autosectionlabel",
2829
"sphinx.ext.coverage",
2930
"sphinx.ext.doctest",
3031
"sphinx.ext.intersphinx",
@@ -249,6 +250,10 @@ def entire_domain(host):
249250
"https://github.com/Julian/jsonschema/workflows/CI/badge.svg",
250251
]
251252

253+
# -- Options for sphinxcontrib-autosectionlabel ---------------------------
254+
255+
autosectionlabel_prefix_document = True
256+
252257
# -- Options for sphinxcontrib-spelling -----------------------------------
253258

254259
spelling_word_list_filename = "spelling-wordlist.txt"

0 commit comments

Comments
 (0)