diff options
author | Tim Rozet <trozet@redhat.com> | 2018-10-02 20:43:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-02 20:43:35 +0000 |
commit | 0a78f21e06900fdacc51087c8c764027b750a95f (patch) | |
tree | d6d347cbc5e6b870cbf26abef50a56ec8f3bac17 /tox.ini | |
parent | df388a8afedc29f9cfebdab3cc39ef27f93d9612 (diff) | |
parent | 9666d8bb3df726d88d08d5811d2a99e713908396 (diff) |
Merge "Local Documentation Builds"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,py35 +envlist = docs,docs-linkcheck,pep8,pylint,py35 [testenv] usedevelop = True @@ -24,3 +24,13 @@ commands = flake8 --exclude .build,build --ignore=F401 [testenv:py35] basepython = python3 +[testenv:docs] +deps = -rdocs/requirements.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + echo "Generated docs available in {toxinidir}/docs/_build/html" +whitelist_externals = echo + +[testenv:docs-linkcheck] +deps = -rdocs/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |