summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2016-11-27 17:04:12 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2016-11-28 12:58:34 +0000
commit7468078b719fb51f12f6c5f9741b18a4421eb5b0 (patch)
tree2bca62fdf9426fcd64e1e738e16adbd3578fd46e /tox.ini
parent98add5fecd3749b70e9014fe10261d22f54dd697 (diff)
downloaddeluge-7468078b719fb51f12f6c5f9741b18a4421eb5b0.tar.gz
deluge-7468078b719fb51f12f6c5f9741b18a4421eb5b0.tar.bz2
deluge-7468078b719fb51f12f6c5f9741b18a4421eb5b0.zip
[Setup] Add a CleanDocs class
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 1 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 6972cda84..3634ee633 100644
--- a/tox.ini
+++ b/tox.ini
@@ -178,10 +178,8 @@ whitelist_externals =
[testenv:docs]
sitepackages = {[docsbase]sitepackages}
deps = {[docsbase]deps}
-whitelist_externals =
- bash
commands =
- bash -c 'rm -f docs/source/modules/*.rst'
+ python setup.py clean_docs
python -c "print '> sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins\n'\
'> sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html';\
import subprocess, sys; proc = subprocess.Popen(\