質問

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?

役に立ちましたか?

解決

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`.
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top