summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Gonzalez <daniel@gonzalez-nothnagel.de>2016-05-07 17:18:15 +0200
committerGoutham Pacha Ravi <gouthamr@netapp.com>2016-07-25 15:55:00 +0000
commit3e86e3deacb7ef6031844ddac415ed8a34a76b07 (patch)
treec5c64904d112d696488c3e9ebca1625903c0a058 /tox.ini
parentcc2c74a3625396feffb343f5c63fbdc4646d9455 (diff)
Migrate API reference into tree
The API Documentation team has requires [1] that projects maintain their api-reference in-tree and build it to the developer.openstack.org website. This version of the API reference uses os-api-ref and compiles API documentation close to that of the OpenStack compute service (nova). Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com> [0] http://lists.openstack.org/pipermail/openstack-dev/2016-May/093765.html Implements: bp move-manila-api-reference-in-tree Change-Id: I67bb3354162d6e0e00fa2788edde864cc14920ee
Notes
Notes (review): Code-Review+2: xing-yang <xing.yang@emc.com> Code-Review+2: Valeriy Ponomaryov <vponomaryov@mirantis.com> Code-Review+1: zhongjun <jun.zhongjun@huawei.com> Workflow+1: Valeriy Ponomaryov <vponomaryov@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 26 Jul 2016 14:46:46 +0000 Reviewed-on: https://review.openstack.org/313874 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4404e1b..a57ad4c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -86,6 +86,14 @@ deps = -r{toxinidir}/requirements.txt
86 pylint==0.26.0 86 pylint==0.26.0
87commands = python tools/lintstack.py check 87commands = python tools/lintstack.py check
88 88
89[testenv:api-ref]
90# This environment is called from CI scripts to test and publish
91# the API Ref to developer.openstack.org.
92whitelist_externals = rm
93commands =
94 rm -rf api-ref/build
95 sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
96
89[testenv:dbrevision] 97[testenv:dbrevision]
90deps = -r{toxinidir}/requirements.txt 98deps = -r{toxinidir}/requirements.txt
91commands = alembic -c manila/db/migrations/alembic.ini revision -m ""{posargs} 99commands = alembic -c manila/db/migrations/alembic.ini revision -m ""{posargs}
@@ -94,7 +102,7 @@ commands = alembic -c manila/db/migrations/alembic.ini revision -m ""{posargs}
94# Following checks are ignored on purpose: 102# Following checks are ignored on purpose:
95ignore = 103ignore =
96builtins = _ 104builtins = _
97exclude = .git,.tox,.testrepository,.venv,build,cover,dist,doc,*egg 105exclude = .git,.tox,.testrepository,.venv,build,cover,dist,doc,*egg,api-ref/build
98 106
99[hacking] 107[hacking]
100import_exceptions = 108import_exceptions =