diff --git a/Documentation/build.py b/Documentation/build.py index df252b054f8..b782fe7dce9 100644 --- a/Documentation/build.py +++ b/Documentation/build.py @@ -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