Fix tox -e releasenotes

The releasenotes tox target fails without this patch because it
can't find sphinx-build.

This patch fixes the releasenotes tox target to use the documentation
requirements file to make sure sphinx is installed in the tox venv.

Change-Id: I55f69e1aa1b3f426cc732cc38947d70bdb0634a5
This commit is contained in:
Douglas Mendizábal 2018-10-26 11:48:50 -05:00
parent daf8db11b4
commit 0e54c0082a
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ commands =
[testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html