summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-04-04 06:50:19 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-04-04 15:59:24 +0200
commit4fdae297551f0d1be07cf2edd39e3428923b52ae (patch)
tree447c2d453888487171c062ccbfc98c2593b8d101 /tox.ini
parent2b63550f650c2ae412b5515cd596f38261619d27 (diff)
Check API doc via doc8
It also cleans unseless dirs. Change-Id: I13be1359b36c49e8f199087fe2a23818c6d1b6e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 99b2268fc..b3bab3f70 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,7 @@ commands = nosetests --with-xunit \
basepython = python2.7
commands =
doc8 \
+ --ignore-path api/build \
--ignore-path docs/release/release-notes/build \
--ignore-path docs/testing/developer/devguide/build \
--ignore-path docs/testing/developer/internship/security_group/build \
@@ -29,10 +30,11 @@ commands =
--ignore-path docs/testing/developer/internship/vnf_catalog/build \
--ignore-path docs/testing/user/configguide/build \
--ignore-path docs/testing/user/userguide/build \
+ api \
docs/release/release-notes \
docs/testing/user/configguide \
docs/testing/user/userguide
- sphinx-build -W -b html api/ api/_build
+ sphinx-build -W -b html api/ api/build
sphinx-build -W -b html docs/release/release-notes docs/release/release-notes/build/html
sphinx-build -W -b html docs/testing/developer/devguide docs/testing/developer/devguide/build/html
sphinx-build -W -b html docs/testing/developer/internship/security_group docs/testing/developer/internship/security_group/build/html