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

This commit is contained in:
Zuul 2019-09-13 07:52:04 +00:00 committed by Gerrit Code Review
commit b29f5db9c7
4 changed files with 14 additions and 15 deletions

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

View File

@ -56,9 +56,3 @@ Table of Contents
developer/index
elements
specs/README
.. # just link this on the dev page
.. toctree::
:hidden:
api/autoindex

View File

@ -12,12 +12,4 @@ oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
# Doc requirements
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
# releasenotes
reno>=2.5.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0

View File

@ -8,6 +8,7 @@ usedevelop = True
install_command = pip install {opts} {packages}
deps=
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
@ -46,7 +47,11 @@ commands = python setup.py test --coverage --coverage-package-name diskimage_bui
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
whitelist_externals =
rm
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html {posargs}
[testenv:releasenotes]
basepython = python3