Skip to content

Commit 481bb46

Browse files
committed
Do not show the 'Improve this page' button on the genindex page
1 parent 2f65595 commit 481bb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/_templates/breadcrumbs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% else %}
1919
{% set example_script = example_script + ".py" %}
2020
{% endif %}
21-
{% if pagename.split("/")[-1] != "sg_execution_times" %}
21+
{% if pagename.split("/")[-1] not in ["sg_execution_times", "genindex"] %}
2222
<a href="https://github.com/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ example_script }}"
2323
class="fa fa-github"> Improve this page</a>
2424
{% endif %}

0 commit comments

Comments
 (0)