문제

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