Skip to content

Commit

Permalink
Add link to docutils docs
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Jul 5, 2021
1 parent 6f9bc6e commit cb846a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ in the project, in this case the ``usage.rst`` 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 can act as a target.
explicit *label* that acts as `a target`__.

__ https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#hyperlink-targets

For example, to reference the "Installation" subsection, add a label right
before the heading, as follows:
Expand Down

0 comments on commit cb846a3

Please sign in to comment.