Debian Codegraph @

doc/source/_templates/edit-this-page.html

raw
1 {% if sourcename is defined and theme_use_edit_page_button and
2 page_source_suffix %} {% set src = sourcename.split('.') %}
3 <div class="tocsection editthispage">
4 <a href="{{ fix_edit_link_button(get_edit_provider_and_url()[1]) }}">
5 <i class="fa-solid fa-pencil"></i>
6 {% set provider = get_edit_provider_and_url()[0] %} {% block
7 edit_this_page_text %} {% if provider %} {% trans provider=provider %}Edit
8 on {{ provider }}{% endtrans %} {% else %} {% trans %}Edit{% endtrans %} {%
9 endif %} {% endblock %}
10 </a>
11 </div>
12 {% endif %}