diff --git a/docs/conf.py b/docs/conf.py index 52e72ec..8243a14 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,13 @@ author = 'Fedora-Infra' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["myst_parser"] +extensions = [ + "myst_parser", + "sphinx.ext.autosectionlabel" +] + +# Make sure the target is unique +autosectionlabel_prefix_document = True # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/docs/github2fedmsg/index.rst b/docs/github2fedmsg/index.rst index fced7f8..fd26692 100644 --- a/docs/github2fedmsg/index.rst +++ b/docs/github2fedmsg/index.rst @@ -62,14 +62,14 @@ Conclusions ----------- Investigation team recommends to not work on this app, but instead work -on :ref:`../webhook2fedmsg/index`. +on :ref:`webhook2fedmsg/index`. Proposed Roadmap ---------------- -See :ref:`../webhook2fedmsg/index:Proposed Roadmap`. +See :ref:`webhook2fedmsg/index:Proposed Roadmap`. Estimate of work ---------------- -See :ref:`../webhook2fedmsg/index:Estimate of work`. +See :ref:`webhook2fedmsg/index:Estimate of work`.