Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I327f5e401dc68ce004b91f80afbf1a6acb05d90a
This commit is contained in:
parent
e104c6e0bf
commit
3d43ee4050
|
@ -0,0 +1,5 @@
|
||||||
|
# Documentation
|
||||||
|
sphinx!=1.6.6,>=1.6.2 # BSD
|
||||||
|
openstackdocstheme>=1.18.1 # Apache-2.0
|
||||||
|
os-api-ref>=1.4.0 # Apache-2.0
|
||||||
|
reno>=2.5.0 # Apache-2.0
|
|
@ -58,12 +58,6 @@ searchlight.publisher =
|
||||||
wsgi_scripts =
|
wsgi_scripts =
|
||||||
searchlight-api-wsgi = searchlight.api.wsgi:init_application
|
searchlight-api-wsgi = searchlight.api.wsgi:init_application
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
all_files = 1
|
|
||||||
build-dir = doc/build
|
|
||||||
source-dir = doc/source
|
|
||||||
warning-is-error = 1
|
|
||||||
|
|
||||||
[egg_info]
|
[egg_info]
|
||||||
tag_build =
|
tag_build =
|
||||||
tag_date = 0
|
tag_date = 0
|
||||||
|
|
|
@ -12,15 +12,9 @@ Babel!=2.4.0,>=2.3.4 # BSD
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
mock>=2.0.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
sphinx!=1.6.6,>=1.6.2 # BSD
|
|
||||||
requests>=2.14.2 # Apache-2.0
|
requests>=2.14.2 # Apache-2.0
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
psutil>=3.2.2 # BSD
|
psutil>=3.2.2 # BSD
|
||||||
reno>=2.5.0 # Apache-2.0
|
|
||||||
simplejson>=3.5.1 # MIT
|
simplejson>=3.5.1 # MIT
|
||||||
httplib2>=0.9.1 # MIT
|
httplib2>=0.9.1 # MIT
|
||||||
|
|
||||||
# Documentation
|
|
||||||
openstackdocstheme>=1.18.1 # Apache-2.0
|
|
||||||
os-api-ref>=1.4.0 # Apache-2.0
|
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -42,8 +42,13 @@ commands =
|
||||||
oslopolicy-sample-generator --config-file etc/oslo-policy-generator/searchlight.conf
|
oslopolicy-sample-generator --config-file etc/oslo-policy-generator/searchlight.conf
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
deps =
|
||||||
commands = 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
|
||||||
|
whitelist_externals = rm
|
||||||
|
commands =
|
||||||
|
sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:api-ref]
|
[testenv:api-ref]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
Loading…
Reference in New Issue