diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2023-05-04 08:17:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 08:17:12 (GMT) |
commit | d0122372f2acb4cc56b89ab8c577ff9039d17d89 (patch) | |
tree | f50db57b34be236de4b6c7a829897d932468fbaf /Doc/tools/extensions | |
parent | cd9a56c2b0e14f56f2e83dd4db43c5c69a74b232 (diff) | |
download | cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.zip cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.gz cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.bz2 |
GH-97950: Use new-style index directive ('module') (#103996)
* 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
Diffstat (limited to 'Doc/tools/extensions')
-rw-r--r-- | Doc/tools/extensions/pyspecific.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py index 39c7c42..12d3e38 100644 --- a/Doc/tools/extensions/pyspecific.py +++ b/Doc/tools/extensions/pyspecific.py @@ -689,7 +689,7 @@ def patch_pairindextypes(app) -> None: # away from this, we need Sphinx to believe that these values don't # exist, by deleting them when using the gettext builder. - # pairindextypes.pop('module', None) + pairindextypes.pop('module', None) # pairindextypes.pop('keyword', None) # pairindextypes.pop('operator', None) # pairindextypes.pop('object', None) @@ -697,10 +697,6 @@ def patch_pairindextypes(app) -> None: # pairindextypes.pop('statement', None) # pairindextypes.pop('builtin', None) - # there needs to be at least one statement in this block, will be - # removed when the first of the below is uncommented. - pass - def setup(app): app.add_role('issue', issue_role) |