From 68daa81ec6a8bed46002add4ffd26daabec56e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Mon, 12 Dec 2022 14:31:28 +0100 Subject: [PATCH] Fix the cross reference links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- docs/conf.py | 8 +++++++- docs/github2fedmsg/index.rst | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) 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`.