mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
[3.11] GH-97950: Use new-style index directive ('module') (GH-103996) (#104154)
This commit is contained in:
parent
8f94c9465b
commit
00563694bb
33 changed files with 65 additions and 69 deletions
|
@ -694,7 +694,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)
|
||||
|
@ -702,10 +702,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue