diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000000..e140bc0689 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,10 @@ +pbr>=2.0.0,!=2.1.0 + +Pygments +docutils +sphinx>=1.6.2 +openstackdocstheme>=1.11.0 +nwdiag +blockdiag +sphinxcontrib-blockdiag +sphinxcontrib-nwdiag diff --git a/tox.ini b/tox.ini index 46b15f4cb1..74436b0f26 100644 --- a/tox.ini +++ b/tox.ini @@ -34,16 +34,7 @@ commands = bash -c "find {toxinidir} \ -print0 | xargs -0 bashate -v -iE006 -eE005,E042" [testenv:docs] -deps = - Pygments - docutils - sphinx>=1.6.2 - pbr>=2.0.0,!=2.1.0 - openstackdocstheme>=1.11.0 - nwdiag - blockdiag - sphinxcontrib-blockdiag - sphinxcontrib-nwdiag +deps = -r{toxinidir}/doc/requirements.txt whitelist_externals = bash setenv = TOP_DIR={toxinidir} @@ -51,11 +42,5 @@ commands = python setup.py build_sphinx [testenv:venv] -deps = - pbr>=2.0.0,!=2.1.0 - sphinx>=1.6.2 - openstackdocstheme>=1.11.0 - blockdiag - sphinxcontrib-blockdiag - sphinxcontrib-nwdiag +deps = -r{toxinidir}/doc/requirements.txt commands = {posargs}