cpython/Doc/tools/extensions
Petr Viktorin 8773554b71
[3.10] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#127867)
Make `versionchanged:: next`` expand to current (unreleased) version.

When a new CPython release is cut, the release manager will replace
all such occurences of "next" with the just-released version.
(See the issue for release-tools and devguide PRs.)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 7d24ea9db3)

gh-121277: Raise nice error on `next` as second argument to deprecated-removed (GH-124623)

(cherry-picked from e349f73a5a)

Updates for 3.10

(cherry-picked from 3.11: f0895aa9c1)

* Use version, not arguments directly
2024-12-13 22:00:34 +00:00
..
asdl_highlight.py
c_annotations.py Add gettext support to tools/extensions/c_annotations.py (GH-101989) 2023-03-06 13:53:24 -08:00
escape4chm.py bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768) 2022-01-21 14:11:47 -08:00
glossary_search.py bpo-43778: Fix Sphinx glossary_search extension (GH-25286) 2021-04-09 00:07:01 +02:00
patchlevel.py
peg_highlight.py bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341) 2022-01-04 03:03:46 -08:00
pyspecific.py [3.10] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#127867) 2024-12-13 22:00:34 +00:00
suspicious.py gh-86986: Drop compatibility support for Sphinx 2 (GH-93737) 2022-06-21 10:51:23 -07:00