Skip to content

Commit 725143f

Browse files
authored
Readthedocs: Don't let notebook failures pass silently (#2276)
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
1 parent 48065fd commit 725143f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113

114114
nb_execution_timeout = 60
115115
nb_execution_mode = "cache"
116+
nb_execution_allow_errors = False
117+
nb_execution_raise_on_error = True
116118

117119
# -- Options for HTML output ----------------------------------------------
118120

0 commit comments

Comments
 (0)