summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-12-21 20:52:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-12-21 20:52:12 (GMT)
commitcfee0e83ebd8826dbdc89035d15e1ea90a577fa2 (patch)
tree6529c80a9fdaa87672d3038954472b435401da0c /Doc
parent6778fa9b2ad10ead5e425afae13ee41ff9e1ca1b (diff)
downloadcpython-cfee0e83ebd8826dbdc89035d15e1ea90a577fa2.zip
cpython-cfee0e83ebd8826dbdc89035d15e1ea90a577fa2.tar.gz
cpython-cfee0e83ebd8826dbdc89035d15e1ea90a577fa2.tar.bz2
Document the alternate format for :ref:.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/documenting/markup.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/documenting/markup.rst b/Doc/documenting/markup.rst
index 60c7836..69a6f12 100644
--- a/Doc/documenting/markup.rst
+++ b/Doc/documenting/markup.rst
@@ -610,6 +610,8 @@ Example::
The ``:ref:`` invocation is replaced with the section title.
+Alternatively, you can reference any label (not just section titles)
+if you provide the link text ``:ref:`link text`<reference-label>```.
Paragraph-level markup
----------------------