diff options
author | Julian Berman <Julian@GrayVines.com> | 2019-10-04 14:14:07 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2019-10-04 14:14:07 -0400 |
commit | 3f1e286230508f335debca1c4c818ef53ac2e5a9 (patch) | |
tree | 2c1d93bfc01dcbdcf40c3cf4963a3462245a3787 | |
parent | 217d02744477ac7d9c71dede16a0a4f614561665 (diff) | |
download | jsonschema-3f1e286230508f335debca1c4c818ef53ac2e5a9.tar.gz |
Use sphinx build via -m rather than make.
Gives it at least a shot at working on Windows.
-rw-r--r-- | tox.ini | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -104,25 +104,16 @@ commands = basepython = pypy3 changedir = docs whitelist_externals = make -commands = make -f {toxinidir}/docs/Makefile BUILDDIR={envtmpdir}/build SPHINXOPTS='-a -c {toxinidir}/docs/ -n -q -T -W {posargs}' html +commands = {envpython} -m sphinx -b html {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W} deps = -r{toxinidir}/docs/requirements.txt {toxinidir} -[testenv:docs-style] -basepython = pypy3 -changedir = docs -commands = doc8 {posargs} {toxinidir}/docs -deps = - doc8 - pygments - pygments-github-lexers - [testenv:docs-doctest] basepython = pypy3 changedir = docs whitelist_externals = make -commands = make -f {toxinidir}/docs/Makefile BUILDDIR={envtmpdir}/build SPHINXOPTS='-a -c {toxinidir}/docs/ -n -q -T -W {posargs}' doctest +commands = {envpython} -m sphinx -b doctest {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W} deps = -r{toxinidir}/docs/requirements.txt {toxinidir} @@ -131,7 +122,7 @@ deps = basepython = pypy3 changedir = docs whitelist_externals = make -commands = make -f {toxinidir}/docs/Makefile BUILDDIR={envtmpdir}/build SPHINXOPTS='-a -c {toxinidir}/docs/ -n -q -T -W {posargs}' linkcheck +commands = {envpython} -m sphinx -b linkcheck {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W} deps = -r{toxinidir}/docs/requirements.txt {toxinidir} @@ -140,11 +131,20 @@ deps = basepython = pypy3 changedir = docs whitelist_externals = make -commands = make -f {toxinidir}/docs/Makefile BUILDDIR={envtmpdir}/build SPHINXOPTS='-a -c {toxinidir}/docs/ -n -q -T -W {posargs}' spelling +commands = {envpython} -m sphinx -b spelling {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W} deps = -r{toxinidir}/docs/requirements.txt {toxinidir} +[testenv:docs-style] +basepython = pypy3 +changedir = docs +commands = doc8 {posargs} {toxinidir}/docs +deps = + doc8 + pygments + pygments-github-lexers + [doc8] ignore-path = version.txt, |