Skip to content
Snippets Groups Projects

:ambulance: fix documentation generation, avoid error with empty files

Merged Vincent Hatakeyama requested to merge topic/15.0/fix-doc into branch/15.0
3 files
+ 14
3
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
0
@@ -101,6 +101,7 @@ def scan_folder(data_tuple, dirname, names):
def scan_file(filename, tags) -> Tuple[Dict[str, Tuple[str, int, str]], int]:
res = {tag: [] for tag in tags}
line_num: int = 0
with open(filename, "r") as f:
for line_num, line in enumerate(f):
for tag in tags:
Loading