158 Commits

Author SHA1 Message Date
Hugo van Kemenade
7dc6acc1e9
[3.13] gh-84232: Fix pydoc docs.python.org link generation (GH-139995) (#143099)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
2025-12-23 18:29:28 +02:00
Miss Islington (bot)
bb8984f895
[3.13] Docs: Prepare for Sphinx 9 (GH-142057) (#142092) 2025-11-29 15:52:05 +00:00
Miss Islington (bot)
342c9e0287
[3.13] GH-121970: Remove Docutils list monkeypatch (GH-142056) (#142089) 2025-11-29 14:56:41 +00:00
Petr Viktorin
6916bfb800
[3.13] gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190) (GH-141193)
(cherry picked from commit d81e1ef0f3a7c63f5d246e4cf918700016b72489)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-13 13:28:57 +01:00
Miss Islington (bot)
9cd608f999
[3.13] GH-134848: Use a set to store `AuditEvents.sources` (GH-134849) (#134854)
GH-134848: Use a set to store ``AuditEvents.sources`` (GH-134849)
(cherry picked from commit b265a7ddeb12b2040d80b471d447ce4c3ff4bb95)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-28 16:36:59 +00:00
Adam Turner
26b04a16ee
[3.13] GH-121970: Extract pydoc_topics into a new extension (GH-131256) (#131511)
(cherry picked from commit c1a02f9101f0b2d9dc7cfb4b8be5193e7459a906)
2025-03-20 15:34:10 +00:00
Miss Islington (bot)
b53065a0a5
[3.13] GH-121970: Extract `issue_role` into a new extension (GH-130615) (#130651)
(cherry picked from commit 043ab3af9ac81c6315395bef814fd12acb873b23)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-27 21:29:26 +00:00
Miss Islington (bot)
c6c2071cab
[3.13] Doc: Strip trailing whitespace in `pydoc_topics` (GH-130492) (#130635)
(cherry picked from commit 3f3e1c4095ae229b0c6d0364f289a20732281a96)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-02-27 14:25:30 +00:00
Adam Turner
93b2bcb52d
[3.13] GH-121970: Extract pydoc_topics into a new extension (#129116) (#130441)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-02-27 14:18:46 +00:00
Miss Islington (bot)
c68a8722be
[3.13] gh-121970: Replace .. coroutine{method,function} with :async: (GH-130448) (#130465)
(cherry picked from commit 5ec4bf86b7f4455432aebace996ef390ae3e9302)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-22 18:00:49 +00:00
Adam Turner
c7d6aa5b51
[3.13] GH-121970: Replace custom abstract method directive with the `:abstract:` option (#129311) (#130439)
(cherry picked from commit 30e892473e0dfe5c3fecabcaac420cefe45e2ed4)
2025-02-22 02:04:54 +00:00
Adam Turner
aaf0581d2a
[3.13] GH-121970: Extract `implementation_detail` into a new extension (GH-129663) (#129739)
(cherry picked from commit 4d56c40440c9fd4499d61d24977336d8cd8d8d83)
2025-02-06 17:30:03 +00:00
Miss Islington (bot)
9862800a71
[3.13] gh-126609: Allow translating the `availability` directive (GH-129549) (#129584)
gh-126609: Allow translating the ``availability`` directive (GH-129549)
(cherry picked from commit 0612a89ffcf0bb52b1750a3466671ba8daad1d87)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-02-03 08:28:11 +00:00
Adam Turner
63cae73797
[3.13] GH-121970: Extract `misc_news` into a new extension (GH-129577) (#129586)
(cherry picked from commit ae4788809d674f8e27faef2678953be8cf67d4a3)
2025-02-02 16:24:48 +00:00
Miss Islington (bot)
bcececd785
[3.13] GH-121970: Remove pyspecific `PyDecoratorMixin` patches (GH-129306) (#129309)
GH-121970: Remove pyspecific ``PyDecoratorMixin`` patches (GH-129306)
(cherry picked from commit 0ef8d470b79889de065e94cecd0ee01e45037d3a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-26 03:49:23 +00:00
Miss Islington (bot)
104bcff983
[3.13] GH-125722: Remove Sphinx patches (GH-129277) (#129278)
GH-125722: Remove Sphinx patches (GH-129277)
(cherry picked from commit d40692db06cdae89447c26b6c1b5d2a682c0974f)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-25 03:55:36 +00:00
Miss Islington (bot)
f10f2a2e77
[3.13] GH-121970: Extract `changes` into a new extension (GH-129105) (#129109)
GH-121970: Extract ``changes`` into a new extension (GH-129105)
(cherry picked from commit e54ac3b69edacf4149988150591226df1397d127)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-20 23:58:41 +00:00
Miss Islington (bot)
5fe7650552
[3.13] GH-125722: Increase minimum supported Sphinx to 8.1.3 (GH-128922) (#129037)
(cherry picked from commit d46b577ec026c2e700a9f920f81cfbf698e53eb6)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-20 00:52:00 +00:00
Miss Islington (bot)
cc5b03f89d
[3.13] Revert "Doc: Show object descriptions in the table of contents (GH-125757)" (GH-128406) (#128413)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-01-02 14:40:19 +00:00
Petr Viktorin
dba992b03b
[3.13] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#124718)
* gh-121277: Allow `.. versionadded:: next` in docs (GH-121278)

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 7d24ea9db3e8fdca52058629c9ba577aba3d8e5c)

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

(cherry-picked from e349f73a5ad2856b0a7cbe4aef7cc081c7aed777)
2024-10-25 15:34:20 +02:00
Miss Islington (bot)
22ae72b88f
[3.13] Doc: Show object descriptions in the table of contents (GH-125757) (#125840)
(cherry picked from commit 91ddde4af0c3031c84a967bcf59f6fb4f8a48c0d)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-22 13:13:35 +00:00
Adam Turner
abb01fd938
[3.13] GH-121970: Extract `availability` into a new extension (GH-125082) (#125237)
(cherry picked from commit cbfd39247983309a9ef0ae6da6c61cc71665b967)
2024-10-10 10:43:43 +00:00
Emily Morehouse
9a1b9d5254
[3.13] gh-125072: Add label for assignment expressions; update tracked section for assignment expression topic (GH-125074) (#125077)
(cherry picked from commit 447a15190d6d766004b77619ba43e44256e348e2)
2024-10-08 02:14:34 +01:00
Miss Islington (bot)
4392c5980d
[3.13] Doc: Fix archive filenames for standard builds (GH-124826) (#124836)
Doc: Fix archive filenames for standard builds (GH-124826)
(cherry picked from commit 91e64be731fe42e6b252b95d79d900251388bfc6)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-03 09:19:14 -07:00
Alex Waygood
67aa68f1b4
[3.13] Bump Ruff to 0.6.7 (#124384) (#124389)
Bump Ruff to 0.6.7 (#124384)
2024-09-29 18:04:56 -07:00
Miss Islington (bot)
068e734bb5
[3.13] Doc: Use `major.minor` for documentation distribution archive filenames (GH-124489) (#124534)
Doc: Use ``major.minor`` for documentation distribution archive filenames (GH-124489)
(cherry picked from commit 6318ffcba21f8fc155f5558237ab03aa45f0e174)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-25 17:20:57 -07:00
Miss Islington (bot)
4210a7d02b
[3.13] GH-121970: Fix `gettext` for audit events (GH-122651) (#122653)
GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89b545beaafad73f05a695742da3e90bc41)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-02 12:48:20 +02:00
Miss Islington (bot)
ae1bdcafb8
[3.13] GH-121970: Extract `audit_events` into a new extension (GH-122325) (#122434) 2024-07-30 04:08:35 +00:00
Miss Islington (bot)
3b013fc208
[3.13] GH-121970: Remove `escape4chm` (GH-122065) (#122167)
GH-121970: Remove ``escape4chm`` (GH-122065)
(cherry picked from commit 53e9e7de6359845f118431c05e2f14a96e03b757)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-23 12:48:23 +00:00
Miss Islington (bot)
7fc1006e31
[3.13] Docs: Fix duplicate object description warnings (GH-122068) (#122069)
Docs: Fix duplicate object description warnings (GH-122068)
(cherry picked from commit 8db5f480072421bb065d346c3bbc5e88fc368587)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-20 20:04:02 +00:00
Miss Islington (bot)
efc7d1ca86
[3.13] GH-121970: Modernise the patchlevel extension (GH-121995) (#122060)
GH-121970: Modernise the patchlevel extension (GH-121995)
(cherry picked from commit b7ad711fcb37dd001e6bf8466c9503eef6d20331)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-20 14:02:23 +00:00
Adam Turner
c12f81ed82
[3.13] GH-121970: Rewrite the C-API annotations extension (#121985) (#122027)
GH-121970: Rewrite the C-API annotations extension (#121985)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 22c9d9c1fcc3bb6186524330b169eda6df450f1b)
2024-07-19 13:03:52 +00:00
Miss Islington (bot)
1565093374
[3.13] GH-121970: Use Ruff to check and format the docs tools (GH-122018) (#122023)
GH-121970: Use Ruff to check and format the docs tools (GH-122018)
(cherry picked from commit 40855f3ab80ced9950c725b710f507c0e903b70a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com>
2024-07-19 12:30:54 +00:00
Miss Islington (bot)
0d138df3fd
[3.13] GH-121970: Combine custom Pygments lexers into a package (GH-121976) (#122021)
GH-121970: Combine custom Pygments lexers into a package (GH-121976)
(cherry picked from commit 7431c3799efbd06ed03ee70b64420f45e83b3667)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-19 12:11:33 +00:00
Miss Islington (bot)
2c4a60b9b9
[3.13] GH-121970: Make `DeprecatedRemoved a subclass of VersionChange` (GH-121971) (#122019)
GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH-121971)
(cherry picked from commit 898e90c3bef77174f22193b114483b9cd196921a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-19 10:56:37 +00:00
Miss Islington (bot)
3b7b3b07cb
[3.13] GH-121970: Improve the glossary preview in HTML search (GH-121991) (#122015)
GH-121970: Improve the glossary preview in HTML search (GH-121991)
(cherry picked from commit adf0b94d1cdd74340c8bc031f7464d0a33200f08)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-19 09:34:11 +00:00
Miss Islington (bot)
711c328178
[3.13] GH-121970: Use `SphinxDirective instead of Directive` (GH-121972) (#122008)
GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (GH-121972)
(cherry picked from commit ac39151a09fc9857e64d7b8f7eff926ec0ba6c0b)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-19 07:51:43 +00:00
Miss Islington (bot)
7322ff1561
[3.13] gh-119317: findall instead of traverse for docutils nodes (GH-119319) (#119486)
gh-119317: findall instead of traverse for docutils nodes (GH-119319)
(cherry picked from commit 0867bce45768454ee31bee95ca33fdc2c9d8b0fa)

Co-authored-by: Carlos Meza <hire@carlosmeza.com>
2024-05-27 23:46:15 +00:00
Miss Islington (bot)
760b3f08dc
gh-118689: Doc: fix ePub build (GH-118690)
(cherry picked from commit 7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2024-05-10 10:40:35 +00:00
Thomas Wouters
2268289a47 Python 3.13.0b1 2024-05-08 11:21:00 +02:00
Kirill Podoprigora
463c20dae9
gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-26 13:10:16 +03:00
Petr Viktorin
ef940dec40
gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237) 2024-04-26 11:01:30 +02:00
Hugo van Kemenade
3284b84c43
Docs: Add classes to C API return value annotations (#117926)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-04-16 15:56:15 +00:00
Hugo van Kemenade
3375282bb8
Docs: add link roles with Sphinx extlinks (#117850)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-15 21:22:00 +03:00
Russell Keith-Magee
0f27672c50
gh-114099: Add documentation for iOS platform (GH-117057)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Ned Deily <nad@python.org>
2024-03-28 04:13:13 -04:00
Russell Keith-Magee
408e127159
gh-114099 - Add iOS framework loading machinery. (GH-116454)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2024-03-19 08:36:19 -04:00
Kuan-Wei Chiu
1d6989f9b0
Fix typo in c_annotations.py comment (#108773)
"compatability" => "compatibility"
2024-01-16 23:36:01 +01:00
William Andrea
f3d5d4aa8f
Docs: Link tokens in the format string grammars (#108184)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-01-09 02:47:59 +00:00
Ege Akman
ea978c645e
gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable API & Stable ABI translation strings (#113638) 2024-01-03 13:22:38 +02:00
Adam Turner
9cdf05bc28
GH-101986: Support translation for Limited/Unstable API & Stable ABI (#107680)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-10 12:17:07 -07:00