summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroleg.hoefling <oleg.hoefling@gmail.com>2021-10-30 18:07:17 +0200
committerOleg Hoefling <oleg.hoefling@gmail.com>2021-11-12 09:41:34 +0100
commit629145a0e8fe2e08e40ad627bb4ee70fb4e1c5f8 (patch)
tree47f6522bf590d64850ffe765f8d4f2d3da3d87c9
parent8356260554fee9ebd26a2c11cdf039af36cd951e (diff)
downloadsphinx-git-629145a0e8fe2e08e40ad627bb4ee70fb4e1c5f8.tar.gz
replace hardcoded refs in docs with extlinks
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
-rw-r--r--doc/tutorial/narrative-documentation.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/tutorial/narrative-documentation.rst b/doc/tutorial/narrative-documentation.rst
index b1f23b0ff..a81204d4c 100644
--- a/doc/tutorial/narrative-documentation.rst
+++ b/doc/tutorial/narrative-documentation.rst
@@ -91,9 +91,7 @@ you created earlier.
Alternatively, you can also add a cross-reference to an arbitrary part of the
project. For that, you need to use the :rst:role:`ref` role, and add an
-explicit *label* that acts as `a target`__.
-
-__ https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#hyperlink-targets
+explicit *label* that acts as :duref:`a target <hyperlink-targets>`.
For example, to reference the "Installation" subsection, add a label right
before the heading, as follows: