From adae6a898cdeaf3af07b5c3746457ddf2e77b320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 23 Jul 2024 16:15:00 -0700 Subject: [PATCH 1/9] CI: enabling rendering execution for CI --- conf.py | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 2056785c..7273f599 100644 --- a/conf.py +++ b/conf.py @@ -48,6 +48,7 @@ # Myst-NB configuration nb_execution_timeout = 900 +#nb_execution_excludepatterns = ['multiband_photometry.md'] # -- Options for HTML output ------------------------------------------------- diff --git a/tox.ini b/tox.ini index 3cd9512d..6a546736 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = pip freeze buildhtml: bash -c 'if [[ ! -d documentation ]]; then git clone --depth 1 https://github.com/nasa-fornax/fornax-documentation.git documentation; else cd documentation; git fetch --all; git pull; cd ..; fi' - buildhtml: sphinx-build -b html . _build/html -D nb_execution_mode=off -nT --keep-going + buildhtml: sphinx-build -b html . _build/html -D nb_execution_mode=auto -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