Skip to content

Commit db8ab00

Browse files
committed
Add cross reference to role definitions
1 parent 04b2066 commit db8ab00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/tutorial/narrative-documentation.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ introduction paragraph in ``index.rst``:
8585
8686
Check out the :doc:`usage` section for further information.
8787
88-
The :rst:role:`doc` role you used automatically references a specific document
89-
in the project, in this case the ``usage.rst`` you created earlier.
88+
The :rst:role:`doc` :ref:`role <rst-roles-alt>` you used automatically
89+
references a specific document in the project, in this case the ``usage.rst``
90+
you created earlier.
9091

9192
Alternatively, you can also add a cross-reference to an arbitrary part of the
9293
project. For that, you need to use the :rst:role:`ref` role, and add an

0 commit comments

Comments
 (0)