From 5b52d19124727c44cab3b4acf8d929adb3520f1c Mon Sep 17 00:00:00 2001 From: Romain Hugonnet Date: Thu, 6 Jun 2024 14:35:18 -0800 Subject: [PATCH] Show full traceback on notebook execution error --- doc/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 974a87d3..c7d2d3e7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,7 +50,8 @@ # For myst-nb to find the Jupyter kernel (=environment) to run from nb_kernel_rgx_aliases = {".*geoutils.*": "python3"} # To raise a Sphinx build error on notebook failure -nb_execution_raise_on_error = True +nb_execution_raise_on_error = True # To fail documentation build on notebook execution error +nb_execution_show_tb = True # To show full traceback on notebook execution error intersphinx_mapping = { "python": ("https://docs.python.org/", None),