Skip to content

Commit a2d31b7

Browse files
authored
fix Sphinx warning (#393)
Sphinx issues a warning, when the `html_static_path` contains paths with underscores. `tox -e docs` resulted in the following warning: "WARNING: html_static_path entry '_static' does not exist" As `_static` is the default value for `html_static_path` there is no need to configure it explicitly. Also see readthedocs/readthedocs.org#1776 An alternative approach would have been to set the path to e.g. `static`.
1 parent 80e1e2b commit a2d31b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# Add any paths that contain custom static files (such as style sheets) here,
9393
# relative to this directory. They are copied after the builtin static files,
9494
# so a file named "default.css" will overwrite the builtin "default.css".
95-
html_static_path = ['_static']
95+
html_static_path = []
9696

9797
# Custom sidebar templates, must be a dictionary that maps document names
9898
# to template names.

0 commit comments

Comments
 (0)