ensure artifacts dir exists for docs build

develop
myk002 2022-09-16 21:55:49 -07:00
parent 6fff83de5a
commit b7357204e6
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 0 deletions

@ -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