diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-09-19 20:53:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-19 20:53:34 +0000 |
commit | e716285dfe01e2373984550495fd2cf02dbf959d (patch) | |
tree | 1b124dd88bdbf5387c9089be163b6930327466eb /tox.ini | |
parent | e8eaf48f2a1230658e38eb8d609bdcd31b3661fd (diff) | |
parent | da30cab5f4d52037fa46a06347286d455000d8c7 (diff) |
Merge "Local Documentation Builds"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +[tox] +minversion = 1.6 +envlist = + docs, + docs-linkcheck +skipsdist = true + +[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 |