summaryrefslogtreecommitdiffstats
path: root/doc/tools/doc_status.py
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2023-07-13 05:20:44 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2023-07-13 16:25:54 +0200
commitc16db0935f97ab492b3f0a5097c0b680d7341ce5 (patch)
tree942545582a8025bfb8b92536c047c21576aa30df /doc/tools/doc_status.py
parent60f3b7967cbd00b4e1f52d33d372646f7bec02f6 (diff)
downloadredot-engine-c16db0935f97ab492b3f0a5097c0b680d7341ce5.tar.gz
Fix `doc_status.py` trying to get removed `version` tag from XML
This also runs `doc_status.py` on CI to catch potential future regressions.
Diffstat (limited to 'doc/tools/doc_status.py')
-rwxr-xr-xdoc/tools/doc_status.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/tools/doc_status.py b/doc/tools/doc_status.py
index 376addcff0..717a468b36 100755
--- a/doc/tools/doc_status.py
+++ b/doc/tools/doc_status.py
@@ -383,12 +383,6 @@ for file in input_file_list:
tree = ET.parse(file)
doc = tree.getroot()
- if "version" not in doc.attrib:
- print('Version missing from "doc"')
- sys.exit(255)
-
- version = doc.attrib["version"]
-
if doc.attrib["name"] in class_names:
continue
class_names.append(doc.attrib["name"])