From b7357204e654bc13befd1c09c0f7fb577dd3ad08 Mon Sep 17 00:00:00 2001 From: myk002 Date: Fri, 16 Sep 2022 21:55:49 -0700 Subject: [PATCH] ensure artifacts dir exists for docs build --- docs/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/build.py b/docs/build.py index 6a63ed59e..bfb6780b2 100755 --- a/docs/build.py +++ b/docs/build.py @@ -16,6 +16,7 @@ class SphinxOutputFormat: def args(self): output_dir = os.path.join('docs', self.name) artifacts_dir = os.path.join('build', 'docs', self.name) # for artifacts not part of the final documentation + os.makedirs(artifacts_dir, mode=0o755, exist_ok=True) return [ *self.pre_args, '.', # source dir