Skip to content

Commit

Permalink
fix(docs): create _static/examples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hearot committed Jun 19, 2020
1 parent 5b82e39 commit 13c734b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@
except (FileNotFoundError, OSError, PermissionError):
pass

try:
mkdir("_static/examples/")
except (FileNotFoundError, OSError, PermissionError):
pass


for example in filter(lambda f: f.endswith(".py"), listdir("../../examples")):
copyfile("../../examples/" + example, "_static/examples/" + example)
Expand Down

0 comments on commit 13c734b

Please sign in to comment.