tox: Ensure Sphinx from within tox env is used
This commit is contained in:
parent
99f6ae2a5c
commit
0efbe981f5
4
tox.ini
4
tox.ini
@ -26,7 +26,7 @@ deps =
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
changedir = docs
|
||||
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
commands = python -m sphinx -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
||||
[testenv:flake8]
|
||||
deps =
|
||||
@ -38,4 +38,4 @@ commands = flake8 --show-source --statistics mopidy tests
|
||||
[testenv:linkcheck]
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
changedir = docs
|
||||
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
commands = python -m sphinx -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user