From 34b6518a0ffa4a06d45e35026c44387a35f50eaf Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Wed, 4 Sep 2024 22:00:43 +0200 Subject: [PATCH] Readthedocs: Don't let notebook failures pass silently Adds both to conf.py: nb_execution_allow_errors = False nb_execution_raise_on_error = True To make sure that when one of the (tutorial) notebooks fails, the Readthedocs also fails and doesn't continue silently. See https://myst-nb.readthedocs.io/en/latest/computation/execute.html#error-reporting-warning-vs-failure --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 8eb7b46239a..ad23acab42f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -113,6 +113,8 @@ nb_execution_timeout = 60 nb_execution_mode = "cache" +nb_execution_allow_errors = False +nb_execution_raise_on_error = True # -- Options for HTML output ----------------------------------------------