Merge "Move doc related modules to doc/requirements.txt"

This commit is contained in:
Zuul 2019-08-12 15:09:33 +00:00 committed by Gerrit Code Review
commit 91b39bb60d
4 changed files with 20 additions and 7 deletions

4
.gitignore vendored
View File

@ -29,4 +29,8 @@ openstack/versioninfo
openstack/common/db/*.sqlite
.stestr/
etc/openstack.conf.sample
# reno build
releasenotes/build
releasenotes/notes/reno.cache
RELEASENOTES.rst

8
doc/requirements.txt Normal file
View File

@ -0,0 +1,8 @@
# 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.
sphinx!=1.6.6,!=1.6.7,>=1.6.5,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.5;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0

View File

@ -4,10 +4,6 @@
hacking>=1.1.0,<1.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.5,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.5;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
@ -16,7 +12,5 @@ testscenarios>=0.4 # Apache-2.0/BSD
# for pre-release tests
oslo.config>=5.2.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
# Bandit security code scanner
bandit>=1.1.0,<1.6.0 # Apache-2.0

View File

@ -28,7 +28,14 @@ commands = {posargs}
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
whitelist_externals =
rm
deps =
{[testenv]deps}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html
[testenv:cover]
basepython = python3