mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
DOC: Add reference to markup/para.rst#glossary-directive from markup/inline.rst
This commit is contained in:
parent
215c4c01c8
commit
5fb0c374e9
@ -247,11 +247,12 @@ objects:
|
|||||||
exists.
|
exists.
|
||||||
|
|
||||||
|
|
||||||
The following role creates a cross-reference to the term in the glossary:
|
The following role creates a cross-reference to a term in a
|
||||||
|
:ref:`glossary <glossary-directive>`:
|
||||||
|
|
||||||
.. rst:role:: term
|
.. rst:role:: term
|
||||||
|
|
||||||
Reference to a term in the glossary. The glossary is created using the
|
Reference to a term in a glossary. A glossary is created using the
|
||||||
``glossary`` directive containing a definition list with terms and
|
``glossary`` directive containing a definition list with terms and
|
||||||
definitions. It does not have to be in the same file as the ``term`` markup,
|
definitions. It does not have to be in the same file as the ``term`` markup,
|
||||||
for example the Python docs have one global glossary in the ``glossary.rst``
|
for example the Python docs have one global glossary in the ``glossary.rst``
|
||||||
|
@ -148,6 +148,8 @@ For local tables of contents, use the standard reST :dudir:`contents directive
|
|||||||
<table-of-contents>`.
|
<table-of-contents>`.
|
||||||
|
|
||||||
|
|
||||||
|
.. _glossary-directive:
|
||||||
|
|
||||||
Glossary
|
Glossary
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user