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
This commit is contained in:
Adam Turner 2023-05-04 09:17:12 +01:00 committed by GitHub
parent cd9a56c2b0
commit d0122372f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 65 additions and 69 deletions

View file

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