From 303f1a9ef73583df420beb255ecb4dbd3d426f15 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Fri, 24 Jul 2020 13:21:02 +0200 Subject: sphinx: conf.py: enable sphinx.ext.autosectionlabel This extension generates the labels for each section, so that we can reference section by their title. (From yocto-docs rev: 910bdad33819116f00fd4f849dcf7484fbebb465) Signed-off-by: Nicolas Dechesne Signed-off-by: Richard Purdie --- documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'documentation/conf.py') diff --git a/documentation/conf.py b/documentation/conf.py index a598c5bd88..beb5496763 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -33,9 +33,11 @@ sys.path.insert(0, os.path.abspath('sphinx')) # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'sphinx.ext.autosectionlabel', 'sphinx.ext.extlinks', 'yocto-vars' ] +autosectionlabel_prefix_document = True # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- cgit v1.2.3-54-g00ecf