Skip to content

Commit 80b2312

Browse files
AA-Turnermiss-islington
authored andcommitted
pythonGH-125722: Remove Sphinx patches (pythonGH-129277)
(cherry picked from commit d40692d) Co-authored-by: Adam Turner <[email protected]>
1 parent e94939c commit 80b2312

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Doc/tools/extensions/pyspecific.py

-10
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@
4040
Body.enum.converters['lowerroman'] = \
4141
Body.enum.converters['upperroman'] = lambda x: None
4242

43-
# monkey-patch the productionlist directive to allow hyphens in group names
44-
# https://github.com/sphinx-doc/sphinx/issues/11854
45-
from sphinx.domains import std
46-
47-
std.token_re = re.compile(r'`((~?[\w-]*:)?\w+)`')
48-
49-
# backport :no-index:
50-
PyModule.option_spec['no-index'] = directives.flag
51-
52-
5343
# Support for marking up and linking to bugs.python.org issues
5444

5545
def issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):

0 commit comments

Comments
 (0)