aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/templates
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-02 17:30:30 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-03 00:15:14 +0200
commita82ef22e014028b08c60cd69bb3d8cfd31ad80e6 (patch)
treece834711bfe81c3f56e9c3de0b2b151383336589 /Documentation/templates
parent4631d03232968ee63b073e47818b3cd4a3647260 (diff)
downloadsparse-dev-a82ef22e014028b08c60cd69bb3d8cfd31ad80e6.tar.gz
doc: remove link "edit on github"
since the development isn't done on github, the link "edit on github" is useless and confusing. So remove this link (but leave the one "View page source" as it's sometimes quite handy). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation/templates')
-rw-r--r--Documentation/templates/breadcrumbs.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/templates/breadcrumbs.html b/Documentation/templates/breadcrumbs.html
new file mode 100644
index 00000000..4f22fa9a
--- /dev/null
+++ b/Documentation/templates/breadcrumbs.html
@@ -0,0 +1,11 @@
+{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}
+
+{% block breadcrumbs_aside %}
+ {% if hasdoc(pagename) %}
+ <li class="wy-breadcrumbs-aside">
+ {% if show_source and has_source and sourcename %}
+ <a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> {{ _('View page source') }}</a>
+ {% endif %}
+ </li>
+ {% endif %}
+{% endblock %}