1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Sun, 12 Oct 2025 12:28:11 +0200
Subject: Do not fail documentation build on example errors
---
doc/conf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/conf.py b/doc/conf.py
index 13b6886..5ba8926 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -730,6 +730,7 @@ sphinx_gallery_conf = {
"plot_gallery": "True",
"recommender": {"enable": True, "n_examples": 4, "min_df": 12},
"reset_modules": ("matplotlib", "seaborn", reset_sklearn_config),
+ "only_warn_on_example_error": True,
}
if with_jupyterlite:
sphinx_gallery_conf["jupyterlite"] = {
|