Skip to content

Commit 31e1772

Browse files
committed
Remove role definitions for cve and cwe
1 parent 278c216 commit 31e1772

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

conf.py

+9
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
sys.path.insert(0, os.path.abspath('cpython/Doc'))
3030
from conf import *
3131

32+
# FIXME
33+
# For fixing the warnings that state that 'cwe', 'cve' roles are already
34+
# defined.
35+
#
36+
# WARNING: role 'cve' is already registered, it will be overridden [app.add_role]
37+
# WARNING: role 'cwe' is already registered, it will be overridden [app.add_role]
38+
del extlinks["cwe"]
39+
del extlinks["cve"]
40+
3241
# Call patchlevel with the proper path to get the version from
3342
# instead of hardcoding it
3443
from patchlevel import get_version_info

0 commit comments

Comments
 (0)