Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-11-29 03:36:55 +0300
committerGitHub <noreply@github.com>2021-11-29 03:36:55 +0300
commit74d912133a1144e5e6783b19f8706e9fedfae4a7 (patch)
treebfec4fc85789cb4ce8cadf9546b729bdef29ed13 /doc
parentf8420c77870fca9289828bd3b436db720ceb159e (diff)
parent7b318d8acb4d982e4d5cdccb69395c6a8519f556 (diff)
Merge pull request #9800 from hoefling/extlinks/replacements-check
Proposal: check if hardcoded URLs can be replaced with extlinks
Diffstat (limited to 'doc')
-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: