diff --git a/tox.ini b/tox.ini index ec0e96f3..decf6bda 100644 --- a/tox.ini +++ b/tox.ini @@ -17,11 +17,15 @@ deps = allowlist_externals = bash git + sed commands = pip freeze buildhtml: git clone --depth 1 https://github.com/nasa-fornax/fornax-documentation.git documentation buildhtml: sphinx-build -b html . _build/html -D nb_execution_mode=off -nT --keep-going + # SED magic to remove the toctree captions from the rendered index page while keeping them in the sidebar TOC + buildhtml: sed -E -i.bak '/caption-text/{N; s/.+caption-text.+\n