Skip to content

Commit 44b8a56

Browse files
committed
Fix breadcrumbs in documentation
Reference change in: readthedocs/sphinx_rtd_theme#1104
1 parent c0bd5dd commit 44b8a56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/_templates/breadcrumbs.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% set pagename = pagename.replace("auto_", "../") %}
55
{% if pagename.endswith("/index") %}
66
{% set pagename = pagename.replace("/index", "/README") %}
7-
{% set suffix = ".rst" %}
7+
{% set page_source_suffix = ".rst" %}
88
{% else %}
9-
{% set suffix = ".py" %}
9+
{% set page_source_suffix = ".py" %}
1010
{% endif %}
1111
{% endif %}
1212
<li class="wy-breadcrumbs-aside">
13-
<a href="https://{{ github_host|default("github.com") }}/{{ github_user|default("dstl") }}/{{ github_repo|default("Stone-Soup") }}/{{ theme_vcs_pageview_mode or "blob" }}/{{ github_version|default("main") }}{{ conf_py_path|default("/docs/source/") }}{{ pagename }}{{ suffix }}" class="fa fa-github"> {{ _('Edit on GitHub') }}</a>
13+
<a href="https://{{ github_host|default("github.com") }}/{{ github_user|default("dstl") }}/{{ github_repo|default("Stone-Soup") }}/{{ theme_vcs_pageview_mode or "blob" }}/{{ github_version|default("main") }}{{ conf_py_path|default("/docs/source/") }}{{ pagename }}{{ page_source_suffix }}" class="fa fa-github"> {{ _('Edit on GitHub') }}</a>
1414
</li>
1515
{% endblock %}

0 commit comments

Comments
 (0)