building docs failed when the output directory didnt alredy exist.
This commit is contained in:
parent
46a40c9905
commit
6d8cb93f71
@ -669,6 +669,9 @@ if __name__ == '__main__':
|
||||
# only for partial updates
|
||||
path_in_tmp = path_in + "-tmp"
|
||||
|
||||
if not os.path.exists(path_in):
|
||||
os.mkdir(path_in)
|
||||
|
||||
for f in os.listdir(path_examples):
|
||||
if f.endswith(".py"):
|
||||
EXAMPLE_SET.add(os.path.splitext(f)[0])
|
||||
|
Loading…
Reference in New Issue
Block a user