Use doc-only requirements
Doc requirements are not needed for unit test runs. This moves doc requirements into the recommended doc/requirements.txt location and updates the tox target to pull from there. Change-Id: I06761a6090d64ae1be5065727f7f56ede14c8d13 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
0253fe4af8
commit
eb4fcd7bf0
6
doc/requirements.txt
Normal file
6
doc/requirements.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
# needed for doc build
|
||||
sphinx>=1.6.2 # BSD
|
||||
openstackdocstheme>=1.25.1 # Apache-2.0
|
@ -2,8 +2,6 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
# needed for doc build
|
||||
sphinx>=1.6.2 # BSD
|
||||
openstackdocstheme>=1.25.1 # Apache-2.0
|
||||
hacking<0.12,>=0.11.0 # Apache-2.0
|
||||
yamllint
|
||||
mock>=2.0.0 # BSD
|
||||
|
4
tox.ini
4
tox.ini
@ -24,6 +24,10 @@ commands = yamllint configuration.yaml
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -v -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
|
||||
[testenv:ci-checks-review]
|
||||
|
Loading…
Reference in New Issue
Block a user