]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Specify doctree directory
authorStephen Finucane <stephen@that.guru>
Tue, 18 Sep 2018 15:48:01 +0000 (16:48 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 18 Sep 2018 15:48:01 +0000 (16:48 +0100)
Sphinx 1.8 has a change in where it places 'doctree' directories. Rather
than ignore this directory via gitignore, specify where this directory
should go. This will ensure future changes in Sphinx's behavior won't
affect us.

Signed-off-by: Stephen Finucane <stephen@that.guru>
tox.ini

diff --git a/tox.ini b/tox.ini
index 3684d716657c08fde9c7c23efa5cc290c407e1cc..fb7bd85e0cfeb62baf32c8cc7bfa8872f4c32d75 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -49,7 +49,7 @@ exclude = ./patchwork/migrations
 deps =
     -r{toxinidir}/docs/requirements.txt
 commands =
-    sphinx-build -E -W -b html docs docs/_build/html
+    sphinx-build -E -W -b html -d docs/_build/doctrees docs docs/_build/html
 
 [testenv:lint]
 basepython = python2.7