summaryrefslogtreecommitdiffstats
path: root/Doc/tools/extensions
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-121277: Allow `.. versionadded:: next` in docs (GH-121278) (#124718)Petr Viktorin2024-10-251-2/+25
| | | | | | | | | | | | | | | | | * 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)
* [3.13] Doc: Show object descriptions in the table of contents (GH-125757) ↵Miss Islington (bot)2024-10-221-0/+1
| | | | | | | (#125840) (cherry picked from commit 91ddde4af0c3031c84a967bcf59f6fb4f8a48c0d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] GH-121970: Extract ``availability`` into a new extension (GH-125082) ↵Adam Turner2024-10-102-76/+125
| | | | | (#125237) (cherry picked from commit cbfd39247983309a9ef0ae6da6c61cc71665b967)
* [3.13] gh-125072: Add label for assignment expressions; update tracked ↵Emily Morehouse2024-10-081-2/+2
| | | | | section for assignment expression topic (GH-125074) (#125077) (cherry picked from commit 447a15190d6d766004b77619ba43e44256e348e2)
* [3.13] Doc: Fix archive filenames for standard builds (GH-124826) (#124836)Miss Islington (bot)2024-10-031-1/+5
| | | | | | 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>
* [3.13] Bump Ruff to 0.6.7 (#124384) (#124389)Alex Waygood2024-09-301-4/+1
| | | Bump Ruff to 0.6.7 (#124384)
* [3.13] Doc: Use ``major.minor`` for documentation distribution archive ↵Miss Islington (bot)2024-09-261-1/+1
| | | | | | | | 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>
* [3.13] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122653)Miss Islington (bot)2024-09-021-0/+2
| | | | | | 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>
* [3.13] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) ↵Miss Islington (bot)2024-07-302-207/+262
| | | | (#122434)
* [3.13] GH-121970: Remove ``escape4chm`` (GH-122065) (#122167)Miss Islington (bot)2024-07-231-58/+0
| | | | | | GH-121970: Remove ``escape4chm`` (GH-122065) (cherry picked from commit 53e9e7de6359845f118431c05e2f14a96e03b757) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] Docs: Fix duplicate object description warnings (GH-122068) (#122069)Miss Islington (bot)2024-07-201-1/+5
| | | | | | 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>
* [3.13] GH-121970: Modernise the patchlevel extension (GH-121995) (#122060)Miss Islington (bot)2024-07-201-50/+59
| | | | | | 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>
* [3.13] GH-121970: Rewrite the C-API annotations extension (#121985) (#122027)Adam Turner2024-07-191-203/+282
| | | | | | GH-121970: Rewrite the C-API annotations extension (#121985) Co-authored-by: Petr Viktorin <encukou@gmail.com> (cherry picked from commit 22c9d9c1fcc3bb6186524330b169eda6df450f1b)
* [3.13] GH-121970: Use Ruff to check and format the docs tools (GH-122018) ↵Miss Islington (bot)2024-07-192-4/+8
| | | | | | | | | (#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>
* [3.13] GH-121970: Combine custom Pygments lexers into a package (GH-121976) ↵Miss Islington (bot)2024-07-193-24/+21
| | | | | | | | | (#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>
* [3.13] GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` ↵Miss Islington (bot)2024-07-191-44/+24
| | | | | | | | (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>
* [3.13] GH-121970: Improve the glossary preview in HTML search (GH-121991) ↵Miss Islington (bot)2024-07-191-36/+32
| | | | | | | | (#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>
* [3.13] GH-121970: Use ``SphinxDirective`` instead of ``Directive`` ↵Miss Islington (bot)2024-07-191-20/+16
| | | | | | | | (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>
* [3.13] gh-119317: findall instead of traverse for docutils nodes (GH-119319) ↵Miss Islington (bot)2024-05-272-4/+4
| | | | | | | | (#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>
* gh-118689: Doc: fix ePub build (GH-118690)Miss Islington (bot)2024-05-101-1/+1
| | | | | (cherry picked from commit 7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Python 3.13.0b1v3.13.0b1Thomas Wouters2024-05-081-1/+1
|
* gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853)Kirill Podoprigora2024-04-262-18/+1
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237)Petr Viktorin2024-04-261-0/+2
|
* Docs: Add classes to C API return value annotations (#117926)Hugo van Kemenade2024-04-161-9/+11
| | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* Docs: add link roles with Sphinx extlinks (#117850)Hugo van Kemenade2024-04-151-13/+2
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-114099: Add documentation for iOS platform (GH-117057)Russell Keith-Magee2024-03-281-1/+1
| | | | | | 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>
* gh-114099 - Add iOS framework loading machinery. (GH-116454)Russell Keith-Magee2024-03-191-1/+1
| | | | Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* Fix typo in c_annotations.py comment (#108773)Kuan-Wei Chiu2024-01-161-1/+1
| | | "compatability" => "compatibility"
* Docs: Link tokens in the format string grammars (#108184)William Andrea2024-01-091-0/+5
| | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable ↵Ege Akman2024-01-031-6/+7
| | | | API & Stable ABI translation strings (#113638)
* GH-101986: Support translation for Limited/Unstable API & Stable ABI (#107680)Adam Turner2023-12-101-10/+10
| | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-81925: Implement native thread ids for kFreeBSD (#111761)Samuel Thibault2023-11-091-2/+2
| | | | | --------- Co-authored-by: Antoine Pitrou <antoine@python.org>
* GH-103082: Clean up the sys.monitoring docs (GH-110532)Tian Gao2023-10-181-0/+8
|
* Fix the pyspecific SOURCE_URI (#110811)T. Wouters2023-10-131-1/+1
|
* Do not use deprecated ``logger.warn()`` in pyspecific (#107694)Adam Turner2023-08-061-3/+3
|
* GH-84435: Make pyspecific directives translatable (#19470)cocoatomo2023-08-061-10/+8
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Clarify how topics.py gets created. (#106121)Ned Batchelder2023-07-101-0/+1
| | | | | | | | | When changing docs, it was easy to find text in topics.py, and I wondered whether I was supposed to edit it. Thankfully, the top of the file says it's auto-generated, so I knew I didn't have to edit it. But I didn't know what started the auto-generation process. It's part of the release process, so I'll leave a note here for future editors.
* Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx ↵Alex Waygood2023-06-231-11/+9
| | | | | >=6.1 (#105886) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-104780: Remove 2to3 program and lib2to3 module (#104781)Victor Stinner2023-05-231-1/+0
| | | | | | | | | * Remove the Tools/scripts/2to3 script. * Remove the Lib/test/test_lib2to3/ directory. * Doc/tools/extensions/pyspecific.py: remove the "2to3fixer" object type. * Makefile and PC/layout/main.py no longer compile lib2to3 grammar files. * Update Makefile for 2to3 removal.
* Python 3.12.0b1v3.12.0b1Thomas Wouters2023-05-221-1/+1
|
* GH-104284: Fix documentation gettext build (#104296)Adam Turner2023-05-081-10/+10
|
* GH-97950: Use new-style index directive ('builtin') (#104164)Adam Turner2023-05-061-1/+1
| | | | | | | | | | | | | * Uncomment builtin removal in pairindextypes * Use new-style index directive ('builtin') - C API * Use new-style index directive ('builtin') - Extending * Use new-style index directive ('builtin') - Library * Use new-style index directive ('builtin') - Reference * Use new-style index directive ('builtin') - Tutorial
* GH-97950: Use new-style index directive ('statement') (#104162)Adam Turner2023-05-041-1/+1
|
* GH-97950: Use new-style index directive ('exception') (#104160)Adam Turner2023-05-041-1/+1
|
* GH-97950: Use new-style index directive ('object') (#104158)Adam Turner2023-05-041-1/+1
| | | | | | | | | | | * Uncomment object removal in pairindextypes * Use new-style index directive ('object') - C API * Use new-style index directive ('object') - Library * Use new-style index directive ('object') - Reference * Use new-style index directive ('object') - Tutorial
* GH-97950: Use new-style index directive ('operator') (#104156)Adam Turner2023-05-041-1/+1
|
* GH-97950: Use new-style index directive ('keyword') (#104153)Adam Turner2023-05-041-1/+1
| | | | | * Uncomment keyword removal in pairindextypes * Use new-style index directive ('keyword') - Reference
* GH-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-041-5/+1
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* GH-97950: Allow translation of index directive content (#104000)Adam Turner2023-05-041-0/+29
|
* Docs: use Node.findall to avoid a deprecation warning (#99403)Adam Turner2023-04-081-1/+12
|