From 506cea3e52699bedeab62971d3bdf23936b901d0 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 6 Aug 2020 08:52:49 -0400 Subject: Enable automatic section heading labels in the docs. --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index d63f385..565b00a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,6 +25,7 @@ sys.path = ext_paths + sys.path # coming with Sphinx (named "sphinx.ext.*") or your custom ones. extensions = [ "sphinx.ext.autodoc", + "sphinx.ext.autosectionlabel", "sphinx.ext.coverage", "sphinx.ext.doctest", "sphinx.ext.intersphinx", @@ -249,6 +250,10 @@ linkcheck_ignore = [ "https://github.com/Julian/jsonschema/workflows/CI/badge.svg", ] +# -- Options for sphinxcontrib-autosectionlabel --------------------------- + +autosectionlabel_prefix_document = True + # -- Options for sphinxcontrib-spelling ----------------------------------- spelling_word_list_filename = "spelling-wordlist.txt" -- cgit v1.2.1