Skip to content

Commit

Permalink
Adjusting directories
Browse files Browse the repository at this point in the history
  • Loading branch information
gphipps authored and gphipps committed Aug 6, 2024
1 parent c3c1d37 commit 166eef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def build_doc(version: str) -> None:
run("git checkout publish-docs -- versions.toml")

#run("make html")
run("sphinx-build -M html . ../_build")
run("sphinx-build -M html docs _build")
run("ls _build")
run(f"mv _build/html pages/{version}")
run("rm -rf _build")
Expand All @@ -35,7 +35,7 @@ def build_init_page(version: str) -> None:
# get versions
with open("meta.toml", "rb") as f:
versions = tomllib.load(f)["versions"]
print(f"versions A _{versions}")
print(f"versions A _{versions}_")
versions.sort(reverse=True, key=lambda v: tuple(map(int, v.split("."))))
print(f"versions B _{versions}_")

Expand Down

0 comments on commit 166eef5

Please sign in to comment.