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 <step...@that.guru>
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 3684d716..fb7bd85e 100644
--- 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
-- 
2.17.1

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to