Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b735720

Browse files
committed
ensure artifacts dir exists for docs build
1 parent 6fff83d commit b735720

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def __init__(self, name, pre_args):
1616
def args(self):
1717
output_dir = os.path.join('docs', self.name)
1818
artifacts_dir = os.path.join('build', 'docs', self.name) # for artifacts not part of the final documentation
19+
os.makedirs(artifacts_dir, mode=0o755, exist_ok=True)
1920
return [
2021
*self.pre_args,
2122
'.', # source dir

0 commit comments

Comments
 (0)