From 3f1a090476ad18c340a8d830462d30195c2321e6 Mon Sep 17 00:00:00 2001 From: Jake Carter Date: Wed, 11 Oct 2023 16:25:18 -0500 Subject: [PATCH] fix(workflow): Fix Documentation/build.py error When Directory Doesn't Exist (#766) --- Documentation/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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