diff options
author | bendikro <bro.devel@gmail.com> | 2016-10-19 13:53:32 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-10-21 10:36:24 +0100 |
commit | 75714b60ca2490a518bbb0f5390ac6eefe06d6b6 (patch) | |
tree | cedb34a4394034774bd454b6abcd80721f2e7e24 /tox.ini | |
parent | ca7cbd291f25598fbb29c3dae2135a805afcfc33 (diff) | |
download | deluge-75714b60ca2490a518bbb0f5390ac6eefe06d6b6.tar.gz deluge-75714b60ca2490a518bbb0f5390ac6eefe06d6b6.tar.bz2 deluge-75714b60ca2490a518bbb0f5390ac6eefe06d6b6.zip |
[Docs] Clean module sources dir before generating docs
If old and outdated sources are present in docs/sources/modules,
python setup.py build_docs will fail to generate docs.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -186,7 +186,10 @@ whitelist_externals = [testenv:docs] sitepackages = {[docsbase]sitepackages} deps = {[docsbase]deps} +whitelist_externals = + bash commands = + bash -c 'rm -f docs/source/modules/*.rst' 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(\ |