diff --git a/docs/requirements.txt b/docs/requirements.txt index ddc1d265..aa07bff4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -Sphinx >= 1.0 +Sphinx >= 1.0, != 1.8.0 pygraphviz Pykka >= 1.1 # Require newer requests than what Travis/Debian has to work around linkcheck crash diff --git a/tox.ini b/tox.ini index d8f09961..fc7cad31 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,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 = @@ -31,4 +31,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