Question

Say I have a normal documentation part and additionally a glossar, both build in the same sphinx project.

Is there a way to link a word with let's say a headline on another page without using a normal static link?

If there is no other way than a static link, is there a possibility to introduce IDs?

Était-ce utile?

La solution

You can create a link to any spot in your project using cross references. For example:

.. _my-reference-label:

Section to cross-reference
--------------------------

This is the text of the section.

It refers to the section itself, see :ref:`my-reference-label`.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top