Browse Source

🐛 Fix deploy docs previews script to handle mkdocs.yml files (#11984)

pull/11985/head
Sebastián Ramírez 8 months ago
committed by GitHub
parent
commit
8b6d9ba789
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      scripts/deploy_docs_status.py

3
scripts/deploy_docs_status.py

@ -63,7 +63,8 @@ def main():
lang_links: dict[str, list[str]] = {}
for f in docs_files:
match = re.match(r"docs/([^/]+)/docs/(.*)", f.filename)
assert match
if not match:
continue
lang = match.group(1)
path = match.group(2)
if path.endswith("index.md"):

Loading…
Cancel
Save