X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b96271e50d480525a5a91f8da39b2bf3efc4355e..2eaedd17af2898bdfa084593db65b5da2f845d1b:/docs/source/_templates/breadcrumbs.html diff --git a/docs/source/_templates/breadcrumbs.html b/docs/source/_templates/breadcrumbs.html new file mode 100644 index 0000000000..631fd76935 --- /dev/null +++ b/docs/source/_templates/breadcrumbs.html @@ -0,0 +1,15 @@ +{%- extends "sphinx_rtd_theme/breadcrumbs.html" %} + +{# We use framagit and not gitlab, and we don't want to add a link on generated pages #} + +{% block breadcrumbs_aside %} +
  • + {% if hasdoc(pagename) and pagename != "search" and pagename != "genindex" %} + {# TODO: How to rule out all java pages? + # (not re.match(pagename, "java/org/simgrid")) + # fails because re is not imported #} + + {{ _('Edit on FramaGit') }} + {% endif %} +
  • +{% endblock %}