Skip to content

Commit 3fb9630

Browse files
Add anchors
1 parent ff5cf4a commit 3fb9630

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

documentation/markup.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,8 @@ Paragraph-level markup
10501050
These directives create short paragraphs and can be used inside information
10511051
units as well as normal text:
10521052

1053+
.. _note:
1054+
10531055
.. describe:: note
10541056

10551057
An especially important bit of information about an API that a user should be
@@ -1063,6 +1065,8 @@ units as well as normal text:
10631065

10641066
This function is not suitable for sending spam e-mails.
10651067

1068+
.. _warning:
1069+
10661070
.. describe:: warning
10671071

10681072
An important bit of information about an API that a user should be aware of
@@ -1073,6 +1077,8 @@ units as well as normal text:
10731077
information regarding the possibility of crashes, data loss, or security
10741078
implications.
10751079

1080+
.. _versionadded:
1081+
10761082
.. describe:: versionadded
10771083

10781084
This directive documents the version of Python which added the described
@@ -1120,6 +1126,8 @@ units as well as normal text:
11201126
but wasn't documented yet, use the version number where the function was
11211127
added instead of ``next``.
11221128

1129+
.. _versionchanged:
1130+
11231131
.. describe:: versionchanged
11241132

11251133
Similar to ``versionadded``, but describes when and what changed in the named
@@ -1138,6 +1146,8 @@ units as well as normal text:
11381146
Note that there should be no blank line between the directive head and the
11391147
explanation; this is to make these blocks visually continuous in the markup.
11401148

1149+
.. _deprecated:
1150+
11411151
.. describe:: deprecated
11421152

11431153
Indicates the version from which the described feature is deprecated.
@@ -1151,6 +1161,8 @@ units as well as normal text:
11511161

11521162
.. deprecated:: next
11531163

1164+
.. _deprecated-removed:
1165+
11541166
.. describe:: deprecated-removed
11551167

11561168
Like ``deprecated``, but it also indicates in which version the feature is
@@ -1164,6 +1176,8 @@ units as well as normal text:
11641176

11651177
.. deprecated-removed:: next 4.0
11661178

1179+
.. _impl-detail:
1180+
11671181
.. describe:: impl-detail
11681182

11691183
This directive is used to mark CPython-specific information. Use either with
@@ -1182,6 +1196,8 @@ units as well as normal text:
11821196
"\ **CPython implementation detail:**\ " is automatically prepended to the
11831197
content.
11841198

1199+
.. _seealso:
1200+
11851201
.. describe:: seealso
11861202

11871203
Many sections include a list of references to module documentation or
@@ -1202,11 +1218,15 @@ units as well as normal text:
12021218
`GNU tar manual, Basic Tar Format <http://link>`_
12031219
Documentation for tar archive files, including GNU tar extensions.
12041220

1221+
.. _rubric:
1222+
12051223
.. describe:: rubric
12061224

12071225
This directive creates a paragraph heading that is not used to create a
12081226
table of contents node. It is currently used for the "Footnotes" caption.
12091227

1228+
.. _centered:
1229+
12101230
.. describe:: centered
12111231

12121232
This directive creates a centered boldfaced paragraph. Use it as follows::

0 commit comments

Comments
 (0)