Skip to content

Commit 4c000de

Browse files
committed
Check org index.md files as well
1 parent 498fd23 commit 4c000de

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
File renamed without changes.

test/validate_pids.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
ok = False
2121
print("Invalid file:", index)
2222

23+
24+
for index in Path("org").glob("*/*"):
25+
if index.name != "index.md":
26+
ok = False
27+
print("Invalid file:", index)
28+
2329
for pid in vid_1209.iterdir():
2430
pid = pid.name
2531
if pid == "index.md":

0 commit comments

Comments
 (0)