Skip to content

Commit

Permalink
DOC: FIX: problem with downloading schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudocubic committed Sep 4, 2024
1 parent 0382259 commit c5e3af2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/scripts/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ def build_schema_docs():
## Main Schema
[Main Schema](../_static/schema/__main__.html)
[Main Schema](../_static/schema/__main__.html){.external}
## Individual Schema
"""

for file in sorted(glob.glob("*.html", root_dir=static_schema_dir)):
if file != "__main__.html":
md_file = md_file + f"[{file.split(".html")[0]}](../_static/schema/{file})\n\n"
md_file = md_file + f"[{file.split(".html")[0]}](../_static/schema/{file})" + "{.external}" + "\n\n"

with open(os.path.join(schema_md_dir, "index.md"), "w") as f:
f.write(md_file)

0 comments on commit c5e3af2

Please sign in to comment.