diff options
author | bendikro <bro.devel+deluge@gmail.com> | 2016-05-22 17:14:46 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-05-25 00:53:37 +0200 |
commit | 7c07001bdc939601508aa3401b7777c633098634 (patch) | |
tree | 82df65d984ee6e4c23d894c8aceaeacaa02f755b /tox.ini | |
parent | [Tests] Improve test docs (diff) | |
download | deluge-7c07001bdc939601508aa3401b7777c633098634.tar.xz deluge-7c07001bdc939601508aa3401b7777c633098634.zip |
[Docs] Make tox -e docs fail on sphinx warnings
* Also cleanup isort command
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -191,8 +191,8 @@ commands = echo -e "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" python -c "import subprocess, sys; proc = subprocess.Popen(\ - 'python setup.py build_docs', shell=True, stdout=subprocess.PIPE);\ - out, err = proc.communicate(); print err; sys.exit(bool(err))" + 'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\ + err = proc.communicate()[1]; print err; sys.exit(bool(err))" [testenv:docscoverage] sitepackages = {[docsbase]sitepackages} |