File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ {# Displays a link to the edit interface of the page source in the specified Version Control System. #}
2
+ {% if sourcename is defined and theme_use_edit_page_button==true and page_source_suffix and pagename not in exclude_edit_page_button %}
3
+ {% set src = sourcename.split('.') %}
4
+ < div class ="tocsection editthispage ">
5
+ < a href ="{{ get_edit_provider_and_url()[1] }} ">
6
+ < i class ="fa-solid fa-pencil "> </ i >
7
+ {% set provider = get_edit_provider_and_url()[0] %}
8
+ {% block edit_this_page_text %}
9
+ {% if provider %}
10
+ {% trans provider=provider %}Edit on {{ provider }}{% endtrans %}
11
+ {% else %}
12
+ {% trans %}Edit{% endtrans %}
13
+ {% endif %}
14
+ {% endblock %}
15
+ </ a >
16
+ </ div >
17
+ {% endif %}
Original file line number Diff line number Diff line change 399
399
"github_repo" : "pandas" ,
400
400
"github_version" : "main" ,
401
401
"doc_path" : "doc/source" ,
402
+ "exclude_edit_page_button" : ["index" ],
402
403
}
403
404
404
405
# If false, no module index is generated.
You can’t perform that action at this time.
0 commit comments