summaryrefslogtreecommitdiffstats
path: root/Doc/tools/extensions
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-91888: add a :gh: role to the documentation (GH-91889) (#91934)Ezio Melotti2022-04-261-0/+24
| | | | | | | | | | | | | | | | | | * gh-91888: Add a :gh: role to the documentation (GH-91889). * [3.10] gh-91888: add a `:gh:` role to the documentation (GH-91889) * 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>. (cherry picked from commit f7641a2ffec243e5f600028a84debe9028a9ee44) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* [3.10] Update Sphinx bpo role to use redirect URI. (#91890)Ezio Melotti2022-04-241-1/+1
| | | | | | | | | | * Update Sphinx bpo role to use redirect URI. (GH-32342) * [3.10] Update Sphinx bpo role to use redirect URI. (GH-32342). (cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Fix whitespace.
* Add redirects to Misc/NEWS bpo links (GH-91454) (GH-91535)Miss Islington (bot)2022-04-141-1/+2
| | | | | (cherry picked from commit 17dbb6bc10ca8a8b602335414c047294f00afcbe) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* bpo-46463: Fixes escape4chm.py script used when building the CHM ↵Miss Islington (bot)2022-01-211-4/+5
| | | | | | | documentation file (GH-30768) (cherry picked from commit 57d1855682dbeb9233ef3a531f9535c6442e9992) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar ↵Miss Islington (bot)2022-01-041-2/+2
| | | | | | | docs (GH-30341) (cherry picked from commit e09d94a140a5f6903017da9b6ac752ba041d69da) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-43795: PEP 652 user documentation (GH-25668) (GH-26034)Miss Islington (bot)2021-05-141-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 (cherry picked from commit b05955d6f5f149523b5855a335444b7c6324bdb7) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* Update the SOURCE_URI in pyspecific.py to point to the new branch (GH-25978)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
|
* bpo-35293: Remove RemovedInSphinx40Warning (GH-22198)Dong-hee Na2020-09-181-15/+21
| | | | | | | | | | | * bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41746: Add type information to asdl_seq objects (GH-22223)Pablo Galindo2020-09-161-1/+1
| | | | | | | | | | | | | * Add new capability to the PEG parser to type variable assignments. For instance: ``` | a[asdl_stmt_seq*]=';'.small_stmt+ [';'] NEWLINE { a } ``` * Add new sequence types from the asdl definition (automatically generated) * Make `asdl_seq` type a generic aliasing pointer type. * Create a new `asdl_generic_seq` for the generic case using `void*`. * The old `asdl_seq_GET`/`ast_seq_SET` macros now are typed. * New `asdl_seq_GET_UNTYPED`/`ast_seq_SET_UNTYPED` macros for dealing with generic sequences. * Changes all possible `asdl_seq` types to use specific versions everywhere.
* Fix invalid escape sequences in the peg_highlight Sphinx extension (GH-22047)Pablo Galindo2020-09-021-1/+1
|
* bpo-40939: Use the new grammar for the grammar specification documentation ↵Pablo Galindo2020-07-271-0/+75
| | | | | | | (GH-19969) (We censor the heck out of actions and some other stuff using a custom "highlighter".) Co-authored-by: Guido van Rossum <guido@python.org>
* Doc: fix import of asdl.py when called from outside Doc/. (GH-21529)Julien Palard2020-07-201-1/+4
|
* bpo-40742: Doc: fix parallel build. (GH-21237)Julien Palard2020-07-061-0/+35
|
* bpo-40798: Generate a different message for already removed elements (GH-20483)Florian Dahlitz2020-05-301-2/+11
|
* bpo-40517: Implement syntax highlighting support for ASDL (GH-19967)Batuhan Taskaya2020-05-071-0/+51
|
* Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" ↵Raymond Hettinger2020-05-061-51/+0
| | | | | (#19950) This reverts commit d60040ba226bd2e3b6f58d074015aa2499dc1cb8.
* bpo-40517: Implement syntax highlighting support for ASDL (#19928)Batuhan Taskaya2020-05-061-0/+51
|
* bpo-36675: Remove obsolete code. (GH-16024)Julien Palard2019-09-121-32/+0
| | | | Does no longer work since Sphinx moved the trim_doctest_flag option in the configuration.
* bpo-37504: Fix documentation build with texinfo builder (GH-14606)Dmitry Shachnev2019-09-101-0/+1
| | | | | | | | | In the table model used by docutils, the `cols` attribute of `tgroup` nodes is mandatory, see [1]. It is used in texinfo builder in [2]. [1]: https://www.oasis-open.org/specs/tm9901.htm#AEN348 [2]: https://github.com/sphinx-doc/sphinx/blob/v2.1.2/sphinx/writers/texinfo.py#L1129 * Doc: Add texinfo support to the Makefile
* Doc: Fix PDF build (NoUri). (GH-15739)Julien Palard2019-09-091-4/+11
|
* bpo-36853: Fix suspicious.py to actually print the unused rules (#13579)Anthony Sottile2019-09-021-11/+14
| | | | | | * Fix suspicious.py to actually print the unused rules * Fix the other `self.warn` calls
* bpo-37363: Add audit events on startup for the run commands (GH-14524)Steve Dower2019-07-011-8/+14
|
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-11/+131
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-5/+5
|
* Bump to 3.9.0a0Łukasz Langa2019-06-041-1/+1
|
* Python 3.8.0b1v3.8.0b1Łukasz Langa2019-06-041-1/+1
|
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-231-0/+40
| | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
* Fix sphinx deprecation warning about env.note_versionchange() (GH-13236)Pablo Galindo2019-05-101-1/+1
|
* bpo-18085: Update refcounts.dat. (GH-11247)Serhiy Storchaka2018-12-201-1/+1
| | | | | Fixed some errors in refcounts.dat, remove functions removed in Python 3, and add more entries for documented functions. This will add several automatically generated notes about return values.
* bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file ↵Steve Dower2018-12-202-3/+23
| | | | (GH-11224)
* bpo-35015: Doc: Fix internationalisation of the availability directive. ↵Julien Palard2018-11-071-3/+4
| | | | (GH-10360)
* bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)Xtreak2018-10-211-1/+0
| | | | Previous to commit ee171a2 the logline was working because of self.info() (now deprecated) defaults to an empty message.
* Stop using deprecated logging API in Sphinx suspicious checker (GH-9875)Pablo Galindo2018-10-151-4/+6
|
* bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type ↵Stéphane Wirtel2018-10-131-5/+3
| | | | (GH-9827)
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-0/+20
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758)animalize2018-10-081-0/+39
| | | | | Let .chm document display non-ASCII characters properly Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems.
* bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)Yury Selivanov2018-09-181-0/+21
| | | Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
* fix pydoc-topics to work with Sphinx 1.7 (GH-6475)Benjamin Peterson2018-04-171-4/+8
| | | In fact, we now require a newer Sphinx version because APIs have moved around.
* bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473)cocoatomo2018-02-231-5/+7
|
* bpo-30406: Make async and await proper keywords (#1669)Jelle Zijlstra2017-10-061-3/+3
| | | Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
* bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721)Ned Deily2017-07-151-1/+1
|
* bpo-29783: Replace codecs.open() with io.open() (#599)Victor Stinner2017-06-161-5/+2
|
* bpo-28331: fix impl-detail label is removed when content is translated. (GH-195)INADA Naoki2017-03-081-2/+12
|