Skip to content

Commit 82b3940

Browse files
authored
Ignore venv and README when building docs (#843)
* Ignore venv and README when building docs This suppresses warnings during the docs build if the venv directory exists. * Remove html static path from Sphinx config Fixes another Sphinx warning
1 parent d7f07b7 commit 82b3940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# List of patterns, relative to source directory, that match files and
3737
# directories to ignore when looking for source files.
3838
# This pattern also affects html_static_path and html_extra_path.
39-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
39+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv', 'README.rst']
4040

4141

4242
# -- Options for HTML output -------------------------------------------------
@@ -49,4 +49,4 @@
4949
# Add any paths that contain custom static files (such as style sheets) here,
5050
# relative to this directory. They are copied after the builtin static files,
5151
# so a file named "default.css" will overwrite the builtin "default.css".
52-
html_static_path = ['_static']
52+
html_static_path = []

0 commit comments

Comments
 (0)