summaryrefslogtreecommitdiff
path: root/doc/tools/makerst.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-18 20:13:50 +0200
committerGitHub <noreply@github.com>2021-08-18 20:13:50 +0200
commitde7b6d13ebd48b2ce6f3da21124d843cb35e7c54 (patch)
tree17c3590c4433deb6030554c9bdb26d3750f61781 /doc/tools/makerst.py
parenta619a92e3c7d051d5ac9fe49e1fb0a12db72983c (diff)
parent5161c97c9c7d6c1f6e4d0264fd9a9d9ea7f7be27 (diff)
Merge pull request #51627 from mhilbrunner/todo-for-neikeq
Diffstat (limited to 'doc/tools/makerst.py')
-rwxr-xr-xdoc/tools/makerst.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py
index 6f9a07af1f..4691b61e1b 100755
--- a/doc/tools/makerst.py
+++ b/doc/tools/makerst.py
@@ -1031,9 +1031,6 @@ def make_enum(t, state): # type: (str, State) -> str
if c in state.classes and e not in state.classes[c].enums:
c = "@GlobalScope"
- if not c in state.classes and c.startswith("_"):
- c = c[1:] # Remove the underscore prefix
-
if c in state.classes and e in state.classes[c].enums:
return ":ref:`{0}<enum_{1}_{0}>`".format(e, c)