Skip to content

Commit

Permalink
fix Sphinx warning (#393)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
jugmac00 committed Mar 24, 2021
1 parent 80e1e2b commit a2d31b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -92,7 +92,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# 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']
html_static_path = []

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

0 comments on commit a2d31b7

Please sign in to comment.