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-15 12:40:25 +0200
commit18278331ef05693d3ecf123bc74f14f6cd07ec13 (patch)
treebd7bc9742c1a72149c1eb656c6963d7c73e1a332 /tox.ini
parent9d4c993b94dfb6d46064531db032d157f4a0aebf (diff)
Check API doc via doc8
It also cleans unseless dirs. Change-Id: I13be1359b36c49e8f199087fe2a23818c6d1b6e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4fdae297551f0d1be07cf2edd39e3428923b52ae)
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 13f4d5763..aa3087ae2 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