From 235fa7199deeb6fab4412fe29a9520c9d5d8d361 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sun, 11 Aug 2013 17:47:17 -0400 Subject: Use the Sphinx doctest builder This allows us to test our documentation snippets using the standard "doctest" utility. --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 81c66758..2f4c2637 100644 --- a/tox.ini +++ b/tox.ini @@ -8,8 +8,9 @@ commands = py.test --cov=cryptography/ --cov=tests/ [testenv:docs] deps = sphinx basepython = python2.7 -changedir = docs -commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html +commands = + sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html + sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html [testenv:pep8] deps = flake8 -- cgit v1.2.3