Shift doc requirements to doc/requirements.txt

We have doc requirements in the normal test-requirements list.
This is causing problems for some sphinx related things which
want python3 conflicting with our py27 test job.

Change-Id: I1c4ddba56377097f1ebf39051a496577d38f0494
This commit is contained in:
Monty Taylor 2019-05-09 13:58:13 +00:00
parent bbfcfe7d20
commit 47ceef043a
3 changed files with 6 additions and 3 deletions

3
doc/requirements.txt Normal file
View File

@ -0,0 +1,3 @@
zuul-sphinx>=0.1.1
sphinxcontrib-blockdiag>=1.1.0
sphinxcontrib-seqdiag

View File

@ -15,12 +15,9 @@ ansible>=2.5.1,<2.6 # https://review.openstack.org/567007
# We need to pin ansible-lint to before 4.0 which blows up all over the place
ansible-lint<4
bashate>=0.2
zuul-sphinx>=0.1.1
stestr>=1.0.0 # Apache-2.0
# For upload-logs-swift:
openstacksdk>=0.17.1
requests
requestsexceptions
bs4
sphinxcontrib-blockdiag>=1.1.0
sphinxcontrib-seqdiag

View File

@ -22,6 +22,9 @@ deps = bindep
commands = bindep test
[testenv:docs]
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html