diff --git a/test-requirements.txt b/test-requirements.txt index aa891f5c..26506036 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,4 +10,5 @@ hacking<0.11,>=0.10.0 pylint==1.4.5 # GNU GPL v2 reno>=1.6.2 # Apache2 -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0 +sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD diff --git a/tox.ini b/tox.ini index 5c4eaa27..76f2095f 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen [testenv:venv] commands = {posargs} +[testenv:docs] +commands = python setup.py build_sphinx + [flake8] # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8.