From 44b8a56cdcd8ab9dbc753c8cdfcf761081650723 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Fri, 6 May 2022 12:07:06 +0100 Subject: [PATCH] Fix breadcrumbs in documentation Reference change in: https://github.com/readthedocs/sphinx_rtd_theme/pull/1104 --- docs/source/_templates/breadcrumbs.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/_templates/breadcrumbs.html b/docs/source/_templates/breadcrumbs.html index 4457a3922..81e7be1fa 100644 --- a/docs/source/_templates/breadcrumbs.html +++ b/docs/source/_templates/breadcrumbs.html @@ -4,12 +4,12 @@ {% set pagename = pagename.replace("auto_", "../") %} {% if pagename.endswith("/index") %} {% set pagename = pagename.replace("/index", "/README") %} - {% set suffix = ".rst" %} + {% set page_source_suffix = ".rst" %} {% else %} - {% set suffix = ".py" %} + {% set page_source_suffix = ".py" %} {% endif %} {% endif %}
  • - {{ _('Edit on GitHub') }} + {{ _('Edit on GitHub') }}
  • {% endblock %}