Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<ul>/<ul>/; P;D;}' _build/html/index.html
buildhtml: bash -c 'rm _build/html/index.html.bak'

Expand Down