diff --git a/template/tox.ini.jinja b/template/tox.ini.jinja index e263df8..25f9f27 100644 --- a/template/tox.ini.jinja +++ b/template/tox.ini.jinja @@ -27,7 +27,7 @@ description = invoke sphinx-build to build the HTML docs deps = -r requirements/docs.txt allowlist_externals=find commands = python -m sphinx -W -j2 -v -b html -d {toxworkdir}/docs_doctrees docs html - python -m sphinx -W -j2 -v -b doctest -d {toxworkdir}/docs_doctrees docs html + python -m sphinx -W -j2 -v -b doctest -d {toxworkdir}/docs_doctrees -D nbsphinx_execute=never docs html find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete [testenv:releasedocs] @@ -42,7 +42,7 @@ commands = {[testenv:docs]commands} [testenv:linkcheck] description = Run Sphinx linkcheck deps = -r requirements/docs.txt -commands = python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees docs html +commands = python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees -D nbsphinx_execute=never docs html [testenv:static] description = Code formatting and static analysis