Enable Sphinx auto section labels. Minor doc link fix.

This commit is contained in:
Dion Moult
2023-09-08 12:06:47 +10:00
parent 073491a78a
commit 5edc6c4d8a
4 changed files with 19 additions and 11 deletions
+4 -1
View File
@@ -48,7 +48,10 @@ release = "0.0.220504"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.autodoc"]
extensions = ["sphinx.ext.autodoc", "sphinx.ext.autosectionlabel"]
# Auto add document prefixes to help guarantee uniqueness of automatic section references.
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]