From 3e20a1de3e393055d5d19637538ad99593c2b1cc Mon Sep 17 00:00:00 2001 From: Wes Turner Date: Sat, 18 Oct 2014 01:59:13 -0500 Subject: DOC: Add reference to markup/para.rst#glossary-directive from markup/inline.rst --- doc/markup/inline.rst | 5 +++-- doc/markup/para.rst | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/markup/inline.rst b/doc/markup/inline.rst index 6f3ebe1c..76c1a5b0 100644 --- a/doc/markup/inline.rst +++ b/doc/markup/inline.rst @@ -247,11 +247,12 @@ objects: 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 `: .. 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 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`` diff --git a/doc/markup/para.rst b/doc/markup/para.rst index c6a49b15..cc03a9f1 100644 --- a/doc/markup/para.rst +++ b/doc/markup/para.rst @@ -148,6 +148,8 @@ For local tables of contents, use the standard reST :dudir:`contents directive `. +.. _glossary-directive: + Glossary -------- -- cgit v1.2.1