Debian Codegraph @

.sphinx/_templates/footer.html

raw
1 {# ru-fu: copied from Furo, with modifications as stated below #}
2
3 <div class="related-pages">
4 {% if next -%}
5 <a class="next-page" href="{{ next.link }}">
6 <div class="page-info">
7 <div class="context">
8 <span>{{ _("Next") }}</span>
9 </div>
10 <div class="title">{{ next.title }}</div>
11 </div>
12 <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
13 </a>
14 {%- endif %}
15 {% if prev -%}
16 <a class="prev-page" href="{{ prev.link }}">
17 <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
18 <div class="page-info">
19 <div class="context">
20 <span>{{ _("Previous") }}</span>
21 </div>
22 {% if prev.link == pathto(master_doc) %}
23 <div class="title">{{ _("Home") }}</div>
24 {% else %}
25 <div class="title">{{ prev.title }}</div>
26 {% endif %}
27 </div>
28 </a>
29 {%- endif %}
30 </div>
31 <div class="bottom-of-page">
32 <div class="left-details">
33 {%- if show_copyright %}
34 <div class="copyright">
35 {%- if hasdoc('copyright') %}
36 {% trans path=pathto('copyright'), copyright=copyright|e -%}
37 <a href="{{ path }}">Copyright</a> &#169; {{ copyright }}
38 {%- endtrans %}
39 {%- else %}
40 {% trans copyright=copyright|e -%}
41 Copyright &#169; {{ copyright }}
42 {%- endtrans %}
43 {%- endif %}
44 </div>
45 {%- endif %}
46
47 {# ru-fu: removed "Made with" #}
48
49 {%- if last_updated -%}
50 <div class="last-updated">
51 {% trans last_updated=last_updated|e -%}
52 Last updated on {{ last_updated }}
53 {%- endtrans -%}
54 </div>
55 {%- endif %}
56 </div>
57 <div class="right-details">
58
59 {# ru-fu: replaced RTD icons with our links #}
60
61 {%- if show_source and has_source and sourcename %}
62 <div class="show-source">
63 <a class="muted-link" href="{{ pathto('_sources/' + sourcename, true)|e }}"
64 rel="nofollow">Show source</a>
65 </div>
66 {%- endif %}
67 {% if github_url and github_version and github_folder and github_filetype and has_source and sourcename %}
68 <div class="edit-github">
69 <a class="muted-link" href="{{ github_url }}/edit/{{ github_version }}{{ github_folder }}{{ pagename }}.{{ github_filetype }}">Edit on GitHub</a>
70 </div>
71 {% endif %}
72
73 </div>
74 </div>
75 </div>