diff --git a/doc/source/conf.py b/doc/source/conf.py index f4fc428e8ba0da9294bfbcbe0f11bbce733c6b1b..f504fcfa86f9527be71b0de816b0139adcf599d7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -32,7 +32,8 @@ subprocess.check_output(f'jupyter nbconvert --version', shell=True) for path, dirs, files in os.walk('.'): for file in files: if file.endswith('.ipynb') and '.ipynb_checkpoints' not in path: - subprocess.check_output(f'jupyter nbconvert --ExecutePreprocessor.allow_errors=True --to notebook --output {file} --execute {file}', shell=True, cwd=path) + subprocess.check_output(f'jupyter nbconvert --to notebook --output {file} --execute {file}', shell=True, cwd=path) + # --ExecutePreprocessor.allow_errors=True (this allows you to allow errors globally, but a raises-exception cell tag is better) # -- General configuration --------------------------------------------------- diff --git a/doc/source/models/multifluid.ipynb b/doc/source/models/multifluid.ipynb index 76037228990d9c25f842ae2e0824bafc4595ef77..7936cf1897a1d16077b2c1938eedafd1c529246a 100644 --- a/doc/source/models/multifluid.ipynb +++ b/doc/source/models/multifluid.ipynb @@ -298,7 +298,10 @@ "iopub.status.busy": "2022-07-06T18:40:42.996338Z", "iopub.status.idle": "2022-07-06T18:40:43.423368Z", "shell.execute_reply": "2022-07-06T18:40:43.422895Z" - } + }, + "tags": [ + "raises-exception" + ] }, "outputs": [ {