mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[Tests] Combine echo lines into python cmd for tox docs
This commit is contained in:
parent
2a8388d262
commit
7e229ceb2f
1 changed files with 3 additions and 4 deletions
7
tox.ini
7
tox.ini
|
@ -186,11 +186,10 @@ whitelist_externals =
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
sitepackages = {[docsbase]sitepackages}
|
sitepackages = {[docsbase]sitepackages}
|
||||||
deps = {[docsbase]deps}
|
deps = {[docsbase]deps}
|
||||||
whitelist_externals = echo
|
|
||||||
commands =
|
commands =
|
||||||
echo -e "sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins"\
|
python -c "print '> sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins\n'\
|
||||||
"\n""sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html"
|
'> sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html';\
|
||||||
python -c "import subprocess, sys; proc = subprocess.Popen(\
|
import subprocess, sys; proc = subprocess.Popen(\
|
||||||
'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\
|
'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\
|
||||||
err = proc.communicate()[1]; print err; sys.exit(bool(err))"
|
err = proc.communicate()[1]; print err; sys.exit(bool(err))"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue