diff --git a/doc-py38-to-py36.patch b/doc-py38-to-py36.patch index 9daf38b..638966a 100644 --- a/doc-py38-to-py36.patch +++ b/doc-py38-to-py36.patch @@ -3,10 +3,10 @@ Doc/tools/check-warnings.py | 3 + Doc/tools/extensions/audit_events.py | 54 ++++++++++++++++---------------- Doc/tools/extensions/availability.py | 15 ++++---- - Doc/tools/extensions/c_annotations.py | 42 ++++++++++++++---------- + Doc/tools/extensions/c_annotations.py | 41 ++++++++++++++---------- Doc/tools/extensions/glossary_search.py | 10 +---- Doc/tools/extensions/patchlevel.py | 9 ++--- - 7 files changed, 85 insertions(+), 65 deletions(-) + 7 files changed, 84 insertions(+), 65 deletions(-) --- a/Doc/conf.py +++ b/Doc/conf.py @@ -369,7 +369,7 @@ state = self.env.domaindata["c_annotations"] content = [ f"* :c:{record.role}:`{record.name}`" -@@ -281,13 +280,22 @@ def init_annotations(app: Sphinx) -> Non +@@ -281,13 +280,21 @@ def init_annotations(app: Sphinx) -> Non ) @@ -387,7 +387,6 @@ + CObject.option_spec.update({ + "no-index-entry": directives.flag, + "no-contents-entry": directives.flag, -+ } + }) + return {