Skip to content

Commit d40692d

Browse files
authored
pythonGH-125722: Remove Sphinx patches (python#129277)
1 parent f10b7b2 commit d40692d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Doc/tools/extensions/pyspecific.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@
3434
Body.enum.converters['lowerroman'] = \
3535
Body.enum.converters['upperroman'] = lambda x: None
3636

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

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

0 commit comments

Comments
 (0)