# HG changeset patch # User Denis Laxalde # Date 1436341026 -7200 # Node ID d276e4b332ba9f1554c3001d06c9c89f1657b234 # Parent fa9a0c80556d45607e1f4cc481dd25b70e238089 [tox] Update doc testenv to account for documentation restructuring * Build doc from `doc` directory. * Use `sphinx-build` directly instead of `make` as this now works and allows to build within .tox temporary environment (instead of doc/_build), preferable for a "test" action. Related to #5447161. diff -r fa9a0c80556d -r d276e4b332ba tox.ini --- a/tox.ini Thu Jul 02 11:46:57 2015 +0200 +++ b/tox.ini Wed Jul 08 09:37:06 2015 +0200 @@ -47,6 +47,9 @@ [testenv:wsgi] [testenv:doc] -changedir = doc/book/en -deps = sphinx -commands = make html +changedir = doc +whitelist_externals = + sphinx-build +deps = + sphinx +commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html