summaryrefslogtreecommitdiffstats
path: root/Doc/tools/extensions
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* Update the SOURCE_URI in pyspecific.py to point to the new branchv3.11.0b1Pablo Galindo2022-05-061-1/+1
|
* gh-91888: add a `:gh:` role to the documentation (#91889)Ezio Melotti2022-04-251-0/+24
| | | | | | | | | | | * Add a new :gh:`...` role for GitHub issues. * Fix a GitHub id to use the :gh: role. * Add Misc/NEWS entry. * Refactoring and rephrasing. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Add redirects to Misc/NEWS bpo links (#91454)Ezio Melotti2022-04-141-1/+2
|
* Update Sphinx bpo role to use redirect URI. (#32342)Ezio Melotti2022-04-111-1/+1
|
* bpo-47115: Document which parts of structs are in limited API/stable ABI ↵Petr Viktorin2022-04-061-3/+22
| | | | | | (GH-32196) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-46463: Fixes escape4chm.py script used when building the CHM ↵Steve Dower2022-01-211-4/+5
| | | | documentation file (GH-30768)
* bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar ↵Pablo Galindo Salgado2022-01-041-2/+2
| | | | docs (GH-30341)
* bpo-42238: [doc] remove unused, and deduplicate, suspicious ignore rules. ↵Julien Palard2021-09-061-1/+1
| | | | (GH-28137)
* bpo-43795: PEP 652 user documentation (GH-25668)Petr Viktorin2021-05-111-22/+88
| | | | | | - Reformat the C API and ABI Versioning page (and extend/clarify a bit) - Rewrite the stable ABI docs into a general text on C API Compatibility - Add a list of Limited API contents, and notes for the individual items. - Replace `Include/README.rst` with a link to a devguide page with the same info
* Update the SOURCE_URI in pyspecific.py to point to the new branch (GH-25977)Pablo Galindo2021-05-081-1/+1
|
* Fix type group capture in the PEG highlight tool (GH-25464)Pablo Galindo2021-04-171-2/+7
|
* bpo-43778: Fix Sphinx glossary_search extension (GH-25286)Victor Stinner2021-04-081-5/+11
| | | | | Create the _static/ directory if it doesn't exist. Add also constants for the static directory and the JSON filename.
* Fixed linenumber missing when audit hook has an error (GH-24692)Jules Lasne2021-03-011-0/+1
| | | | | See https://github.com/sphinx-doc/sphinx/issues/8932 Co-authored-by: tk0miya <i.tkomiya@gmail.com>
* bpo-42997: Improve error message for missing : before suites (GH-24292)Pablo Galindo2021-02-021-0/+6
| | | | | | | | * Add to the peg generator a new directive ('&&') that allows to expect a token and hard fail the parsing if the token is not found. This allows to quickly emmit syntax errors for missing tokens. * Use the new grammar element to hard-fail if the ':' is missing before suites.
* bpo-34398: Allow glossary results to show up on search page (GH-8773)Ammar Askar2020-12-181-0/+57
|
* bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)Matěj Cepl2020-12-071-1/+6
| | | | | | The solution in gh#python/cpython#13236 is too strict because it effectively requires the use of Sphinx >= 2.0. It is not too difficult to make the same solution more robust so it works with all normal versions of Sphinx.
* bpo-42042: Use ids attribute instead of names attribute (GH-22739)Dong-hee Na2020-11-131-2/+2
|