]> granicus.if.org Git - python/commitdiff
Document the alternate format for :ref:.
authorRaymond Hettinger <python@rcn.com>
Tue, 21 Dec 2010 20:52:12 +0000 (20:52 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 21 Dec 2010 20:52:12 +0000 (20:52 +0000)
Doc/documenting/markup.rst

index 60c783655b9d1d728c679d965428e5f32ee6bd21..69a6f125516793c660c368e65f562457812eb158 100644 (file)
@@ -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
 ----------------------