summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2017-12-19 22:14:10 +0100
committerColleen Murphy <colleen@gazlene.net>2017-12-20 00:39:46 +0100
commitba9c1a3bec7b7c06dfbb3392b56f789752696a66 (patch)
tree0c73114d74e67cd057a72ff62a0e4485e1d25fd5 /tox.ini
parenta08bc44e041228d075f2edacf30510064147d0fb (diff)
downloadkeystonemiddleware-ba9c1a3bec7b7c06dfbb3392b56f789752696a66.tar.gz
Fix docs builds
With the new way of generating docs in the gate[1] our autodoc builds are slightly broken. Put the required dependencies for doc building and autodoc generation into doc/requirements.txt. We can also now remove docs-related requirements from test-requirements.txt. [1] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ifbd16fe364bb216821125c70bb7d3ab0ac1f10a3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c0a99df..1292b2e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -51,11 +51,13 @@ show-source = True
exclude = .venv,.tox,dist,doc,*egg,build
[testenv:docs]
+deps = -r{toxinidir}/doc/requirements.txt
commands=
doc8 doc/source
python setup.py build_sphinx
[testenv:releasenotes]
+deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[hacking]