From 7dd81001b8cfa71b981a9f7038633922f8de27eb Mon Sep 17 00:00:00 2001 From: Kidus Date: Fri, 24 Apr 2026 21:19:52 +0300 Subject: [PATCH] DOC: Enable Sphinx-Gallery example recommender --- doc/changes/dev/13867.other.rst | 1 + doc/changes/names.inc | 1 + doc/conf.py | 1 + 3 files changed, 3 insertions(+) create mode 100644 doc/changes/dev/13867.other.rst diff --git a/doc/changes/dev/13867.other.rst b/doc/changes/dev/13867.other.rst new file mode 100644 index 00000000000..0e1687b1827 --- /dev/null +++ b/doc/changes/dev/13867.other.rst @@ -0,0 +1 @@ +Enable the Sphinx-Gallery example recommender so each gallery page links to the most similar examples, by :newcontrib:`Kidus Abebe`. diff --git a/doc/changes/names.inc b/doc/changes/names.inc index ff8921c3e76..b545afb1527 100644 --- a/doc/changes/names.inc +++ b/doc/changes/names.inc @@ -177,6 +177,7 @@ .. _Katia Al-Amir: https://github.com/katia-sentry .. _Kay Robbins: https://github.com/VisLab .. _Keith Doelling: https://github.com/kdoelling1919 +.. _Kidus Abebe: https://github.com/kidusabe1 .. _Konstantinos Tsilimparis: https://contsili.github.io/ .. _Kostiantyn Maksymenko: https://github.com/makkostya .. _Kristijan Armeni: https://github.com/kristijanarmeni diff --git a/doc/conf.py b/doc/conf.py index e7f740db907..dc9161b6fea 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -569,6 +569,7 @@ ), "copyfile_regex": r".*index\.rst", # allow custom index.rst files "parallel": sphinx_gallery_parallel, + "recommender": {"enable": True}, } assert is_serializable(sphinx_gallery_conf) # Files were renamed from plot_* with: