diff --git a/tox.ini b/tox.ini index 81ee08a..d7e1e1c 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,7 @@ deps = # TODO: add pure python dependency, so we can add an example for the github install devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo -allowlist_externals = bash, sed +allowlist_externals = bash, sed, make commands = pip freeze @@ -41,8 +41,10 @@ commands = !buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 tutorials - buildhtml: sphinx-build -b html . _build/html -nWT --keep-going + buildhtml: make html + # SED magic to remove the toctree captions from the rendered index page while keeping them in the sidebar TOC + # This should live upstream, clean up once supported in the JB ecosystem buildhtml: sed -E -i.bak '/caption-text/{N; s/.+caption-text.+\n