From f8794490bd9b5db75a8d1c0abdd23a1db4b41aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 13 May 2025 10:23:56 -0700 Subject: [PATCH 1/2] Using make in tox --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 81ee08a..c074042 100644 --- a/tox.ini +++ b/tox.ini @@ -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