From 38752d455ff0206678e7d9ac591c4237f8af6226 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 25 Nov 2020 17:39:51 -0500 Subject: [PATCH] Fix vcs_pageview_mode (#1010) Fixes https://github.com/readthedocs/sphinx_rtd_theme/issues/701 --- sphinx_rtd_theme/breadcrumbs.html | 6 +++--- sphinx_rtd_theme/theme.conf | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sphinx_rtd_theme/breadcrumbs.html b/sphinx_rtd_theme/breadcrumbs.html index e9537fcbe..f58eff596 100644 --- a/sphinx_rtd_theme/breadcrumbs.html +++ b/sphinx_rtd_theme/breadcrumbs.html @@ -44,21 +44,21 @@ {{ _('Edit on GitHub') }} {% else %} - {{ _('Edit on GitHub') }} + {{ _('Edit on GitHub') }} {% endif %} {% elif display_bitbucket %} {% if check_meta and 'bitbucket_url' in meta %} {{ _('Edit on Bitbucket') }} {% else %} - {{ _('Edit on Bitbucket') }} + {{ _('Edit on Bitbucket') }} {% endif %} {% elif display_gitlab %} {% if check_meta and 'gitlab_url' in meta %} {{ _('Edit on GitLab') }} {% else %} - {{ _('Edit on GitLab') }} + {{ _('Edit on GitLab') }} {% endif %} {% elif show_source and source_url_prefix %} {{ _('View page source') }} diff --git a/sphinx_rtd_theme/theme.conf b/sphinx_rtd_theme/theme.conf index 91731083f..5cc687d7f 100644 --- a/sphinx_rtd_theme/theme.conf +++ b/sphinx_rtd_theme/theme.conf @@ -17,3 +17,4 @@ display_version = True prev_next_buttons_location = bottom style_external_links = False style_nav_header_background = +vcs_pageview_mode =