[pkg] Turn warning into error while building doc
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 12 Apr 2017 11:37:34 +0200
changeset 259 4685ff566984
parent 258 fc9d76402c13
child 268 435238330846
[pkg] Turn warning into error while building doc So it can be checked by CI Fix former-warning-now-error in sphinx configuration which expect static dirs to exist.
doc/conf.py
tox.ini
--- a/doc/conf.py	Wed Apr 12 11:42:13 2017 +0200
+++ b/doc/conf.py	Wed Apr 12 11:37:34 2017 +0200
@@ -127,7 +127,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 = []
 
 # Add any extra paths that contain custom files (such as robots.txt or
 # .htaccess) here, relative to this directory. These files are copied
--- a/tox.ini	Wed Apr 12 11:42:13 2017 +0200
+++ b/tox.ini	Wed Apr 12 11:37:34 2017 +0200
@@ -37,4 +37,4 @@
 changedir = doc
 deps =
   sphinx
-commands = sphinx-build -b html -d doctrees .  html
+commands = sphinx-build -W -b html -d doctrees .  html