Merge "Move sphinx + deps to doc/requirements.txt"

This commit is contained in:
Zuul 2018-09-03 12:22:02 +00:00 committed by Gerrit Code Review
commit a9daee98fc
3 changed files with 6 additions and 4 deletions

4
doc/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
sphinx>=1.5.1,<1.6
sphinxcontrib-programoutput
sphinxcontrib-httpdomain
reno>=2.5.0 # Apache-2.0

View File

@ -1,10 +1,6 @@
# Nodepool uses hacking for its dependencies # Nodepool uses hacking for its dependencies
hacking>=0.10.2,<0.11 hacking>=0.10.2,<0.11
coverage coverage
sphinx>=1.5.1,<1.6
sphinxcontrib-programoutput
sphinxcontrib-httpdomain
reno>=2.5.0 # Apache-2.0
fixtures>=0.3.12 fixtures>=0.3.12
mock>=1.0 mock>=1.0
python-subunit python-subunit

View File

@ -45,6 +45,8 @@ commands =
[testenv:docs] [testenv:docs]
basepython = python3 basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = commands =
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html