aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNguyen Hai <nguyentrihai93@gmail.com>2018-03-16 01:20:54 +0900
committerNguyen Hai <nguyentrihai93@gmail.com>2018-03-16 03:32:55 +0900
commit850bd8afaf309bea16c7250923fd39b77ae2b459 (patch)
treeef3252de603b977af49cc3c60c4d3652b54873a8 /tox.ini
parent814bc1a4a0cc789d190dbddf386a9c5812d791f9 (diff)
downloadkolla-850bd8afaf309bea16c7250923fd39b77ae2b459.tar.gz
kolla-850bd8afaf309bea16c7250923fd39b77ae2b459.zip
Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I302aced3b50b038900375e9632ca7ed136f32914
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 3f63d244d..9709a7336 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,10 +49,11 @@ commands = bandit -r docker kolla tests tools
commands = {posargs}
[testenv:docs]
+deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
doc8 doc
- python setup.py build_sphinx
+ sphinx-build -W -b html doc/source doc/build/html
[testenv:setupenv]
commands =
@@ -236,6 +237,7 @@ commands=
oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf
[testenv:releasenotes]
+deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html