Skip to content

Commit c24ab76

Browse files
authored
Do not show the 'Improve this page' button on the search page (#2294)
1 parent 9253af3 commit c24ab76

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
@@ -22,7 +22,7 @@
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 %}
25-
{% elif pagename.split("/")[-1] != "genindex" %}
25+
{% elif pagename.split("/")[-1] not in ["genindex", "search"] %}
2626
<a href="https://github.com/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ pagename }}{{ page_source_suffix }}"
2727
class="fa fa-github"> Improve this page</a>
2828
{% endif %}

0 commit comments

Comments
 (0)