Mark doc warnings as errors

Also remove unnecessary removal of build directory in the docs tox
target.

Change-Id: Ia91a7c473f2fc1a029a7462db70e8b5188468bbb
This commit is contained in:
Kirill Zaitsev 2017-07-07 13:01:53 +03:00
parent 423a8c0f1e
commit a0bfc472a2
2 changed files with 2 additions and 3 deletions

View File

@ -51,6 +51,7 @@ setup-hooks =
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[egg_info]
tag_build =

View File

@ -51,9 +51,7 @@ commands = nodeenv -p
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:docs]
commands =
rm -rf doc/build
python setup.py build_sphinx
commands = python setup.py build_sphinx
[testenv:makemessages]
commands =