Skip to content

Commit

Permalink
ensure artifacts dir exists for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Sep 17, 2022
1 parent 6fff83d commit b735720
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def __init__(self, name, pre_args):
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
Expand Down

0 comments on commit b735720

Please sign in to comment.