8000 [3.12] GH-125722: Remove Sphinx patches (GH-129277) (#129279) · python/cpython@9c44e4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c44e4f

Browse files
[3.12] GH-125722: Remove Sphinx patches (GH-129277) (#129279)
GH-125722: Remove Sphinx patches (GH-129277) (cherry picked from commit d40692d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent e94939c commit 9c44e4f

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