Skip to content

Commit 102fdc9

Browse files
Fail docs build on errors in notebooks
Closes #6323
1 parent 2968a52 commit 102fdc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@
147147

148148
# myst config
149149
nb_execution_mode = "force"
150+
nb_execution_allow_errors = False
151+
nb_execution_raise_on_error = True
152+
nb_execution_timeout = 300
150153
nb_kernel_rgx_aliases = {".*": "python3"}
151154
myst_enable_extensions = ["colon_fence", "deflist", "dollarmath", "amsmath", "substitution"]
152155
myst_substitutions = {

0 commit comments

Comments
 (0)