summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2020-03-19 12:52:01 -0600
committerJonathan Corbet <corbet@lwn.net>2020-03-19 12:52:01 -0600
commit58ad30cf91f073a9fab4f8e238b025431343dbf3 (patch)
tree39b698c9908b4568e34fe6554d08ee5435a5288b /Documentation/conf.py
parent7d3d3254adaa61cba896f71497f56901deb618e5 (diff)
downloadlwn-58ad30cf91f073a9fab4f8e238b025431343dbf3.tar.gz
lwn-58ad30cf91f073a9fab4f8e238b025431343dbf3.zip
docs: fix reference to core-api/namespaces.rst
Fix a couple of dangling links to core-api/namespaces.rst by turning them into proper references. Enable the autosection extension (available since Sphinx 1.4) to make this work. Co-developed-by: Federico Vaga <federico.vaga@vaga.pv.it> Fixes: fcfacb9f8374 ("doc: move namespaces.rst from kbuild/ to core-api/") Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 3c7bdf4cd31f..fa2bfcd6df1d 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -38,7 +38,7 @@ needs_sphinx = '1.3'
# ones.
extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain',
'kfigure', 'sphinx.ext.ifconfig', 'automarkup',
- 'maintainers_include']
+ 'maintainers_include', 'sphinx.ext.autosectionlabel' ]
# The name of the math extension changed on Sphinx 1.4
if (major == 1 and minor > 3) or (major > 1):