🌐 AI搜索 & 代理 主页
Skip to content

Commit d75dd56

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #30817: Update sphinx-gallery header patch
1 parent ac5a909 commit d75dd56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def gallery_image_warning_filter(record):
364364
:class: sphx-glr-download-link-note
365365
366366
:ref:`Go to the end <sphx_glr_download_{1}>`
367-
to download the full example code.{2}
367+
to download the full example code{2}
368368
369369
.. rst-class:: sphx-glr-example-title
370370

lib/matplotlib/tests/test_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_sphinx_gallery_example_header():
99
EXAMPLE_HEADER, this test will start to fail. In that case, please update
1010
the monkey-patching of EXAMPLE_HEADER in conf.py.
1111
"""
12-
pytest.importorskip('sphinx_gallery', minversion='0.16.0')
12+
pytest.importorskip('sphinx_gallery', minversion='0.20.0')
1313
from sphinx_gallery import gen_rst
1414

1515
EXAMPLE_HEADER = """
@@ -25,7 +25,7 @@ def test_sphinx_gallery_example_header():
2525
:class: sphx-glr-download-link-note
2626
2727
:ref:`Go to the end <sphx_glr_download_{1}>`
28-
to download the full example code.{2}
28+
to download the full example code{2}
2929
3030
.. rst-class:: sphx-glr-example-title
3131

0 commit comments

Comments
 (0)