Merge "Add doc/requirements"

This commit is contained in:
Zuul 2021-05-28 11:00:49 +00:00 committed by Gerrit Code Review
commit d16033b032
3 changed files with 5 additions and 5 deletions

3
doc/requirements.txt Normal file
View File

@ -0,0 +1,3 @@
sphinx!=1.6.6,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,>=1.6.2;python_version>='3.4' # BSD
sphinx_rtd_theme

View File

@ -4,8 +4,3 @@ fixtures>=0.3.14
python-subunit>=0.0.18
stestr
testtools>=0.9.36,!=1.2.0
# docs
sphinx!=1.6.6,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,>=1.6.2;python_version>='3.4' # BSD
sphinx_rtd_theme

View File

@ -22,6 +22,8 @@ basepython = python3
commands = {posargs}
[testenv:docs]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]