Skip to content

Commit ab4e765

Browse files
committed
versiondeprecated -> deprecated
1 parent ab98e94 commit ab4e765

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

doc/development/html_themes/templating.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,24 +188,24 @@ is deprecated in favor of separate sidebar templates, which can be included via
188188
``sidebartoc``
189189
The table of contents within the sidebar.
190190

191-
.. versiondeprecated:: 1.0
191+
.. deprecated:: 1.0
192192

193193
``sidebarrel``
194194
The relation links (previous, next document) within the sidebar.
195195

196-
.. versiondeprecated:: 1.0
196+
.. deprecated:: 1.0
197197

198198
``sidebarsourcelink``
199199
The "Show source" link within the sidebar (normally only shown if this is
200200
enabled by :confval:`html_show_sourcelink`).
201201

202-
.. versiondeprecated:: 1.0
202+
.. deprecated:: 1.0
203203

204204
``sidebarsearch``
205205
The search box within the sidebar. Override this if you want to place some
206206
content at the bottom of the sidebar.
207207

208-
.. versiondeprecated:: 1.0
208+
.. deprecated:: 1.0
209209

210210

211211
Configuration Variables
@@ -237,7 +237,7 @@ Overriding works like this::
237237

238238
{% set script_files = script_files + ["_static/myscript.js"] %}
239239

240-
.. versiondeprecated:: 1.8.0
240+
.. deprecated:: 1.8.0
241241

242242
Please use ``.Sphinx.add_js_file()`` instead.
243243

doc/extdev/markupapi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ and does not contain any structural elements
203203
with switch_source_input(self.state, self.result):
204204
parsed = nested_parse_to_nodes(self.state, self.result)
205205
206-
.. versiondeprecated:: 1.7
206+
.. deprecated:: 1.7
207207

208208
Until Sphinx 1.6, ``sphinx.ext.autodoc.AutodocReporter`` was used for this
209209
purpose. It is replaced by ``switch_source_input()``.

doc/latex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Keys that you may want to override include:
288288

289289
Default: ``''``
290290

291-
.. versiondeprecated:: 1.5
291+
.. deprecated:: 1.5
292292

293293
Use ``'atendofbody'`` key instead.
294294

doc/usage/configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ Options for source files
11571157
The recommended encoding is ``'utf-8-sig'``.
11581158

11591159
.. versionadded:: 0.5
1160-
.. versiondeprecated:: 8.3
1160+
.. deprecated:: 8.3
11611161
Support for source encodings other than UTF-8 is deprecated.
11621162
Sphinx 10 will only support UTF-8 files.
11631163

@@ -1586,7 +1586,7 @@ and also make use of these options.
15861586
.. versionadded:: 3.2
15871587
.. versionchanged:: 4.0
15881588
It defaults to :code-py:`'inline'`.
1589-
.. versiondeprecated:: 4.0
1589+
.. deprecated:: 4.0
15901590

15911591
.. confval:: html_context
15921592
:type: :code-py:`dict[str, Any]`
@@ -1853,7 +1853,7 @@ and also make use of these options.
18531853
.. versionadded:: 1.0
18541854
The ability to use globbing keys and to specify multiple sidebars.
18551855

1856-
.. versiondeprecated:: 1.7
1856+
.. deprecated:: 1.7
18571857
A single string value for :confval:`!html_sidebars` will be removed.
18581858

18591859
.. versionchanged:: 2.0
@@ -2103,7 +2103,7 @@ and also make use of these options.
21032103
`Janome <https://pypi.org/project/Janome/>`_ is required.
21042104

21052105

2106-
.. versiondeprecated:: 1.6
2106+
.. deprecated:: 1.6
21072107

21082108
``'mecab'``, ``'janome'`` and ``'default'`` is deprecated.
21092109
To keep compatibility,

doc/usage/restructuredtext/directives.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,10 @@ Describing changes between versions
596596

597597
Example::
598598

599-
.. versiondeprecated:: 3.1
599+
.. deprecated:: 3.1
600600
Use :py:func:`spam` instead.
601601

602-
.. versiondeprecated:: 3.1
602+
.. deprecated:: 3.1
603603
Use :py:func:`!spam` instead.
604604

605605
.. version-changed:: 8.3

tests/roots/test-changes/base.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Version markup
77
.. versionchanged:: 0.6
88
Even more funny stuff.
99

10-
.. versiondeprecated:: 0.6
10+
.. deprecated:: 0.6
1111
Boring stuff.
1212

1313
.. versionremoved:: 0.6
@@ -22,7 +22,7 @@ Version markup
2222

2323
Second paragraph of version-changed.
2424

25-
.. versiondeprecated:: 1.3
25+
.. deprecated:: 1.3
2626
First paragraph of version-deprecated.
2727

2828
.. versionadded:: 0.6

tests/roots/test-changes/library/utils.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Classes
2020

2121
Innovative new way to handle paths.
2222

23-
.. versiondeprecated:: 0.6
23+
.. deprecated:: 0.6
2424

2525
So, that was a bad idea it turns out.

0 commit comments

Comments
 (0)