From c8ed87485f9f8dfbe87d65df4857629bfb31fba5 Mon Sep 17 00:00:00 2001 From: Steffen Rehberg Date: Sun, 19 Mar 2023 21:38:32 +0100 Subject: [PATCH 1/2] DOC: Fix thumbnail title for sphinx gallery Sphinx Gallery 0.11.0 left RST formatting characters in the thumbnail titles. This was fixed in version 0.12.2 for most cases by github.com/sphinx-gallery/sphinx-gallery/pull/1005, which doesn't cover default roles. So to restore the previous behavior we need to explicitely a role. --- .../examples/axes_grid1/demo_colorbar_with_axes_divider.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py b/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py index 49b98a852f06..6007c3dee222 100644 --- a/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py +++ b/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py @@ -1,7 +1,7 @@ """ -============================ -Colorbar with `.AxesDivider` -============================ +================================== +Colorbar with :obj:`~.AxesDivider` +================================== The `.axes_divider.make_axes_locatable` function takes an existing axes, adds it to a new `.AxesDivider` and returns the `.AxesDivider`. The `.append_axes` From 0c6eacfb5b115eab861a6ae402d33f776d86c204 Mon Sep 17 00:00:00 2001 From: Steffen Rehberg Date: Tue, 21 Mar 2023 13:11:50 +0100 Subject: [PATCH 2/2] Remove links in title altogether Co-authored-by: Elliott Sales de Andrade --- .../examples/axes_grid1/demo_colorbar_with_axes_divider.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py b/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py index 6007c3dee222..e314c2dcea21 100644 --- a/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py +++ b/galleries/examples/axes_grid1/demo_colorbar_with_axes_divider.py @@ -1,7 +1,7 @@ """ -================================== -Colorbar with :obj:`~.AxesDivider` -================================== +========================= +Colorbar with AxesDivider +========================= The `.axes_divider.make_axes_locatable` function takes an existing axes, adds it to a new `.AxesDivider` and returns the `.AxesDivider`. The `.append_axes`