From 67f920f61571d52ed724dbffbfb41d2fe75d6872 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 24 Mar 2022 18:47:28 +0100 Subject: add MyST option for implicit header ref --- conf.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf.py') diff --git a/conf.py b/conf.py index 69a3d28..58ee832 100644 --- a/conf.py +++ b/conf.py @@ -31,6 +31,10 @@ extensions = [ 'myst_parser', ] +# Allow to create implicit reference to headings. +# See: https://docs.readthedocs.io/en/stable/guides/cross-referencing-with-sphinx.html#implicit-targets +myst_heading_anchors = 2 + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- cgit v1.2.3