diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2018-07-28 08:14:25 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2018-07-28 10:26:02 +0100 |
commit | 3fc97672de5ef74ec5281aab3d1d0d68b120ee38 (patch) | |
tree | f3a7d184048daaa505734fa11895d61d020966ed /tox.ini | |
parent | e8e649a030d7e08dbfc60f825d5ab0392108f25e (diff) | |
download | deluge-3fc97672de5ef74ec5281aab3d1d0d68b120ee38.tar.gz deluge-3fc97672de5ef74ec5281aab3d1d0d68b120ee38.tar.bz2 deluge-3fc97672de5ef74ec5281aab3d1d0d68b120ee38.zip |
Fix the docs run failing on Travis
Likely that the deprecation warning from cryptography is causing the
setup.py sphinx build command to return an error so the tox/travis job
is marked as failing. Changing to calling the sphinx-build command
directly solves this.
Also updated the sphinx config for built-in napoleon and faster builds
using jobs option.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -176,7 +176,6 @@ changedir = docs deps = {[testenv]deps} sphinx - sphinxcontrib-napoleon whitelist_externals = {[testenv]whitelist_externals} @@ -185,11 +184,8 @@ sitepackages = {[docsbase]sitepackages} deps = {[docsbase]deps} commands = 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(\ - 'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\ - err = proc.communicate()[1]; print err; sys.exit(bool(err))" + sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins + sphinx-build -v -j auto -E -T -b html -d docs/build/doctrees docs/source docs/build/html [testenv:docscoverage] sitepackages = {[docsbase]sitepackages} |