Skip to content

Commit

Permalink
Include empty example_thumbs directory in repository (#2601)
Browse files Browse the repository at this point in the history
As an alternative to creating the directory in conf.py

Cf #2572
  • Loading branch information
mwaskom authored Jun 18, 2021
1 parent fc50d08 commit 445a54a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion doc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_build/
generated/
examples/
example_thumbs/
example_thumbs/*.png
introduction.rst
tutorial/*.rst
docstrings/*.rst
3 changes: 0 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static', 'example_thumbs']
for path in html_static_path:
if not os.path.exists(path):
os.makedirs(path)

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
Empty file added doc/example_thumbs/.gitkeep
Empty file.

0 comments on commit 445a54a

Please sign in to comment.