Skip to content

Commit 7133fec

Browse files
authored
doc: Rename sphinx-gallery's README.txt to GALLERY_HEADER.rst and require Sphinx-Gallery>=0.17.0 (#3348)
1 parent a98ca97 commit 7133fec

22 files changed

+2
-2
lines changed

doc/_templates/breadcrumbs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{% set gallery_path = gallery_dir[pagename.split("/")[0]] %}
1515
{% set example_script = pagename|replace(pagename.split("/")[0], gallery_dir[pagename.split("/")[0]]) %}
1616
{% if pagename.split("/")[-1] == "index" %}
17-
{% set example_script = example_script|replace("index", "README.txt") %}
17+
{% set example_script = example_script|replace("index", "GALLERY_HEADER.rst") %}
1818
{% else %}
1919
{% set example_script = example_script + ".py" %}
2020
{% endif %}

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies:
4040
- sphinx-autodoc-typehints
4141
- sphinx-copybutton
4242
- sphinx-design
43-
- sphinx-gallery
43+
- sphinx-gallery>=0.17.0
4444
- sphinx_rtd_theme
4545
# Dev dependencies (type hints)
4646
- mypy
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)