From 7071fce086ace48131411acf981b4e7e9d0af793 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 29 Nov 2019 18:39:54 +0000 Subject: [PATCH] Bug 1599749 - enable the sphinx.ext.autosectionlabel extension r=ahal Allow reference sections using its title See https://www.sphinx-doc.org/en/master/usage/extensions/autosectionlabel.html for more information Depends on D54931 Differential Revision: https://phabricator.services.mozilla.com/D54932 --HG-- extra : moz-landing-system : lando --- tools/docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/docs/conf.py b/tools/docs/conf.py index 19dcfe1a0a16..d0c0395dbe96 100644 --- a/tools/docs/conf.py +++ b/tools/docs/conf.py @@ -35,6 +35,7 @@ sys.path.insert(0, OUR_DIR) extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.autosectionlabel', 'sphinx.ext.graphviz', 'sphinx.ext.napoleon', 'sphinx.ext.todo',