Split doc requirements into their own file
We don't need sphinx in the test virtualenvs, but we do need it for docs. Change-Id: I8ae98d08090e2e391ba725ddd5ff0125a03c8d47 Depends-On: Ie0c9f24df09255e871f904e079b68809144b36b4
This commit is contained in:
2
doc/requirements.txt
Normal file
2
doc/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
sphinx>=1.6.2 # BSD
|
||||||
|
openstackdocstheme>=1.17.0 # Apache-2.0
|
@@ -9,8 +9,6 @@ oslo.config>=4.6.0 # Apache-2.0
|
|||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||||
requests-mock>=1.1.0 # Apache-2.0
|
requests-mock>=1.1.0 # Apache-2.0
|
||||||
sphinx>=1.6.2 # BSD
|
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
openstackdocstheme>=1.17.0 # Apache-2.0
|
|
||||||
reno>=2.5.0 # Apache-2.0
|
reno>=2.5.0 # Apache-2.0
|
||||||
tempest>=17.1.0 # Apache-2.0
|
tempest>=17.1.0 # Apache-2.0
|
||||||
|
7
tox.ini
7
tox.ini
@@ -25,8 +25,11 @@ commands =
|
|||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = rm -rf doc/build
|
deps =
|
||||||
python setup.py build_sphinx
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
commands = sphinx-build -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
Reference in New Issue
Block a user