summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-04-04 05:31:23 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-04-04 20:15:31 +0200
commitfdc6191e3562b4ec327d899cd1a4c395ac1734ba (patch)
treee504a38d8b27545d2af0e25084c8e17e9495a7d3 /tox.ini
parent3cabf9dc69e8639db7bb72f05474dee4ece2ed97 (diff)
Fix Functest User Guide
It allows building this documentation via tox. rst files are now checked via doc8. Intro is moved into a new file. Change-Id: If1dbe2cbde2f39ca4948ada2b2743594bc387dbc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3756ff6fbd17269fd9d2a585d3d0ef4bea6f6f9e)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 8 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4da5002f8..ea1c6bf45 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,11 +20,17 @@ commands = nosetests --with-xunit \
[testenv:docs]
basepython = python2.7
commands =
+ doc8 \
+ --ignore-path docs/release/release-notes/build \
+ --ignore-path docs/testing/user/configguide/build \
+ --ignore-path docs/testing/user/userguide/build \
+ docs/release/release-notes \
+ docs/testing/user/configguide \
+ docs/testing/user/userguide
sphinx-build -W -b html api/ api/_build
- doc8 docs/release/release-notes --ignore-path docs/release/release-notes/build
sphinx-build -W -b html docs/release/release-notes docs/release/release-notes/build/html
- doc8 docs/testing/user/configguide --ignore-path docs/testing/user/configguide/build
sphinx-build -W -b html docs/testing/user/configguide docs/testing/user/configguide/build/html
+ sphinx-build -W -b html docs/testing/user/userguide docs/testing/user/userguide/build/html
[testenv:pep8]
basepython = python2.7