Skip to content

Commit

Permalink
fix(workflow): Fix Documentation/build.py error When Directory Doesn'…
Browse files Browse the repository at this point in the history
…t Exist (#766)
  • Loading branch information
Jake-Carter authored Oct 11, 2023
1 parent 0ee115d commit 3f1a090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class CommonExampleInfo(ExampleInfo):
print(f.name)
if (f.name != "README.md"): shutil.copy(f, here) # Workaround for https://github.com/mkdocs/mkdocs/issues/3313

(here / "Libraries" / "CLI").mkdir(exist_ok=True)
(here / "Libraries" / "CLI").mkdir(exist_ok=True, parents=True)
shutil.copy(Path("Libraries") / "CLI" / "README.md", here / "Libraries" / "CLI" / "README.md") # TODO: Less hard-coded way of pulling these in

# String replace "##__EXAMPLES_LIST__##" with autogenerated tables
Expand Down

0 comments on commit 3f1a090

Please sign in to comment.