mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 06:10:12 +08:00
docs: enhance learning materials and workspace documentation with new tutorials and improved structure
This commit is contained in:
@@ -69,7 +69,8 @@ def check_screenshots() -> list[str]:
|
||||
for path in CONTENT.rglob("*"):
|
||||
if path.suffix not in {".md", ".mdx"}:
|
||||
continue
|
||||
referenced.update(re.findall(r"/screenshots/dev/([A-Za-z0-9_.-]+)", path.read_text()))
|
||||
text = re.sub(r"<!--.*?-->", "", path.read_text(), flags=re.DOTALL)
|
||||
referenced.update(re.findall(r"/screenshots/dev/([A-Za-z0-9_.-]+)", text))
|
||||
for name in sorted(referenced):
|
||||
if not (PUBLIC / name).exists():
|
||||
errors.append(f"missing screenshot {name}")
|
||||
|
||||
Reference in New Issue
Block a user