From a2d31b723517a9f72a9735ff70d858f7158dd4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Gmach?= Date: Wed, 24 Mar 2021 12:41:57 +0100 Subject: [PATCH] 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 https://github.com/readthedocs/readthedocs.org/issues/1776 An alternative approach would have been to set the path to e.g. `static`. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 87a0205..4a025e5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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.