summaryrefslogtreecommitdiffstats
path: root/Doc/tools/extensions
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] Doc: Use ``major.minor`` for documentation distribution archive ↵Miss Islington (bot)2024-09-251-1/+1
| | | | | | | | filenames (GH-124489) (#124535) 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.12] Bump Ruff to 0.6.7 (#124384) (#124391)Alex Waygood2024-09-231-4/+1
|
* [3.12] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122654)Miss Islington (bot)2024-08-031-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.12] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) ↵Miss Islington (bot)2024-07-302-207/+262
| | | | (#122435)
* [3.12] GH-121970: Remove ``escape4chm`` (GH-122065) (#122168)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.12] Docs: Fix duplicate object description warnings (GH-122068) (#122070)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.12] GH-121970: Modernise the patchlevel extension (GH-121995) (#122061)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.12] GH-121970: Rewrite the C-API annotations extension (GH-121985) (#122025)Adam Turner2024-07-191-203/+282
| | | | | (cherry picked from commit 22c9d9c1fcc3bb6186524330b169eda6df450f1b) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.12] GH-121970: Use Ruff to check and format the docs tools (GH-122018) ↵Adam Turner2024-07-192-4/+8
| | | | | | | (#122024) (cherry picked from commit 40855f3ab80ced9950c725b710f507c0e903b70a) Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com>
* [3.12] GH-121970: Combine custom Pygments lexers into a package (GH-121976) ↵Miss Islington (bot)2024-07-193-24/+21
| | | | | | | | | (#122022) 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.12] GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` ↵Miss Islington (bot)2024-07-191-44/+24
| | | | | | | | (GH-121971) (#122020) 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.12] GH-121970: Improve the glossary preview in HTML search (GH-121991) ↵Miss Islington (bot)2024-07-191-36/+32
| | | | | | | | (#122016) 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.12] GH-121970: Use ``SphinxDirective`` instead of ``Directive`` ↵Miss Islington (bot)2024-07-191-20/+16
| | | | | | | | (GH-121972) (#122009) 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.12] gh-119317: findall instead of traverse for docutils nodes (GH-119319) ↵Miss Islington (bot)2024-05-242-4/+4
| | | | | | | | (#119487) 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>
* [3.12] gh-117928: Bump the minimum Sphinx version to 6.2.1 (GH-117853) (#118321)Kirill Podoprigora2024-04-262-18/+1
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec ↵Miss Islington (bot)2024-04-261-0/+2
| | | | | | | | (GH-118237) (GH-118309) gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237) (cherry picked from commit ef940dec409f0a9e4f353c6188990aeb3ad4ffb4) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.12] Docs: Add classes to C API return value annotations (GH-117926) (#117937)Miss Islington (bot)2024-04-161-9/+11
| | | | | | | Docs: Add classes to C API return value annotations (GH-117926) (cherry picked from commit 3284b84c437e3b0b0a052471e8a6aabc528fc651) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] Docs: add link roles with Sphinx extlinks (GH-117850) (#117910)Hugo van Kemenade2024-04-151-13/+2
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] Docs: Link tokens in the format string grammars (GH-108184) (#113839)Miss Islington (bot)2024-01-091-0/+5
| | | | | | | | Docs: Link tokens in the format string grammars (GH-108184) (cherry picked from commit f3d5d4aa8f0388217aeff69e28d078bdda464b38) Co-authored-by: William Andrea <william.j.andrea@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* [3.12] gh-113637: Let c_annotations.py to handle the spacing of ↵Miss Islington (bot)2024-01-031-6/+7
| | | | | | Limited/Unstable API & Stable ABI translation strings (GH-113638) (#113676) Co-authored-by: Ege Akman <egeakmanegeakman@hotmail.com>
* [3.12] GH-101986: Support translation for Limited/Unstable API & Stable ABI ↵Miss Islington (bot)2023-12-101-10/+10
| | | | | | | | (GH-107680) (#112940) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] GH-103082: Clean up the sys.monitoring docs (GH-111048)Brandt Bucher2023-10-181-0/+8
| | | (cherry picked from commit 19916941172844f9c52d7a6dce95efaa23035772)
* [3.12] GH-84435: Make pyspecific directives translatable (GH-19470) (#107681)Miss Islington (bot)2023-08-061-10/+8
| | | | | | | | GH-84435: Make pyspecific directives translatable (GH-19470) (cherry picked from commit ecb05e0b9842ba03b42b4dec8767b1c18a4e28b3) Co-authored-by: cocoatomo <cocoatomo77@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* [3.12] Do not use deprecated ``logger.warn()`` in pyspecific (GH-107694) ↵Miss Islington (bot)2023-08-061-3/+3
| | | | | | | | (#107695) Do not use deprecated ``logger.warn()`` in pyspecific (GH-107694) (cherry picked from commit 9564e31cbc95a723f2414537231bc4611b56644f) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] Clarify how topics.py gets created. (GH-106121) (#106579)Miss Islington (bot)2023-07-101-0/+1
| | | | | | | | | | | | | | Clarify how topics.py gets created. (GH-106121) 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. (cherry picked from commit dac1e364901d3668742e6eecc2ce63586330c11f) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.12] Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with ↵Miss Islington (bot)2023-06-231-11/+9
| | | | | | | | | Sphinx >=6.1 (GH-105886) (#106010) Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx >=6.1 (GH-105886) (cherry picked from commit a72683ba8e0337650cc490dbe593a5e46aba60cb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* 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
|
* Add gettext support to tools/extensions/c_annotations.py (#101989)Rémi Lapeyre2023-03-061-3/+4
|
* gh-101101: Unstable C API tier (PEP 689) (GH-101102)Petr Viktorin2023-02-281-0/+16
|
* gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)Jean Abou-Samra2023-02-121-9/+11
| | | | | | | | | | pyspecific: Fix i18n for availability directive If the directive has content, the previous code would nest paragraph nodes from that content inside a general paragraph node, which confuses Sphinx and leads it to drop the content when translating. Instead, use a container node for the body. Also use set_source_info so that any warnings have location info.
* gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (#98437)Wei-Hsiang (Matt) Wang2022-11-111-4/+4
| | | | | fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
* gh-86404: Doc: Drop now unused make suspicious and rstlint. (GH-98179)Julien Palard2022-10-112-256/+0
| | | | They have been replaced by [sphinx-lint](https://github.com/sphinx-contrib/sphinx-lint).
* gh-97607: Fix content parsing in the impl-detail reST directive (#97652)C.A.M. Gerlach2022-10-021-16/+7
| | | | | | | | | | | | | | | | | | | * Don't parse content as arg in the impl-detail directive This does not change the (untranslated) output, but ensures that the doctree node metadata is correct. which fixes gh-97607 with the text not being translated. It also simplifies the code and logic and makes it consistant with the docutils built-in directives. * Remove unused branch from impl-detail directive handling no-content case This is not used anywhere in the docs and lacks a clear use case, and is more likely a mistake which is now flagged at build time. This simplifies the logic from two code paths to one, and makes the behavior consistant with similar built-in directives (e.g. the various admonition types). * Further simplify impl-detail reST directive code
* gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)Christian Heimes2022-08-021-8/+6
| | | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-95415: Make availability directive consistent (GH-95416)Christian Heimes2022-07-291-1/+57
|
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-223-4/+2
|
* gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)Adam Turner2022-06-212-40/+8
| | | | | | | | | * Revert "bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282)" This reverts commit 5c1f15b4b1024cbf0acc85832f0c623d1a4605fd * Revert "bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)" This reverts commit b63a620014b67a6e63d10783149c41baaf59def8.
* gh-92448: Update the documentation builder to render the GitHub issue. ↵Dong-hee Na2022-05-081-4/+5
| | | | (GH-92449)
* Update the SOURCE_URI in pyspecific.py to point to the new branchPablo Galindo2022-05-081-1/+1
|