[3.11] GH-97950: Use new-style index directive ('module') (GH-103996) (#104154)

This commit is contained in:
Adam Turner 2023-05-04 09:39:15 +01:00 committed by GitHub
parent 8f94c9465b
commit 00563694bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 65 additions and 69 deletions

View file

@ -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)