[PATCH] tox: Specify doctree directory
Stephen Finucane
stephen at that.guru
Wed Sep 19 01:49:41 AEST 2018
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 at 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
More information about the Patchwork
mailing list