Merge "Use doc-only requirements"

This commit is contained in:
Zuul 2020-03-27 18:21:50 +00:00 committed by Gerrit Code Review
commit 3dce0e3cf2
3 changed files with 10 additions and 2 deletions

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

@ -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]