From ec5494292525d57f3077c122eed6a4a4cf4a0c29 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Thu, 14 May 2015 20:41:55 -0300 Subject: [PATCH] Create separate testenvs to build docs and check links --- tox.ini | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f6c153ae3..5c8c8c78d 100644 --- a/tox.ini +++ b/tox.ini @@ -57,10 +57,19 @@ deps = basepython = python3.4 deps = {[testenv:py33]deps} -[testenv:docs] +[docs] changedir = docs deps = Sphinx + +[testenv:docs] +changedir = {[docs]changedir} +deps = {[docs]deps} commands = sphinx-build -W -b html . {envtmpdir}/html + +[testenv:docs-links] +changedir = {[docs]changedir} +deps = {[docs]deps} +commands = sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck