]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Use 'dirhtml' builder for docs
authorStephen Finucane <stephen@that.guru>
Mon, 28 Jan 2019 21:09:40 +0000 (21:09 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 29 Jan 2019 09:35:08 +0000 (09:35 +0000)
This is what we use for 'patchwork.readthedocs.io'.

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

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