From 1a1902350b8cef10a960c1d5cc3271b0ff0049c5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 7 May 2015 21:09:57 +0900 Subject: [PATCH] Update sphinx_rtd_theme --- doc/_themes/sphinx_rtd_theme/__init__.py | 2 +- doc/_themes/sphinx_rtd_theme/breadcrumbs.html | 18 ++-- doc/_themes/sphinx_rtd_theme/footer.html | 4 +- doc/_themes/sphinx_rtd_theme/layout.html | 2 +- .../sphinx_rtd_theme/static/css/theme.css | 4 +- .../sphinx_rtd_theme/static/css/theme.css.map | 2 +- .../sphinx_rtd_theme/static/js/theme.js | 101 ++++++++++++++---- 7 files changed, 99 insertions(+), 34 deletions(-) diff --git a/doc/_themes/sphinx_rtd_theme/__init__.py b/doc/_themes/sphinx_rtd_theme/__init__.py index fcce3bfc..95ddc52a 100644 --- a/doc/_themes/sphinx_rtd_theme/__init__.py +++ b/doc/_themes/sphinx_rtd_theme/__init__.py @@ -5,7 +5,7 @@ From https://github.com/ryan-roemer/sphinx-bootstrap-theme. """ import os -VERSION = (0, 1, 7) +VERSION = (0, 1, 8) __version__ = ".".join(str(v) for v in VERSION) __version_full__ = __version__ diff --git a/doc/_themes/sphinx_rtd_theme/breadcrumbs.html b/doc/_themes/sphinx_rtd_theme/breadcrumbs.html index af4f55a4..0028421e 100644 --- a/doc/_themes/sphinx_rtd_theme/breadcrumbs.html +++ b/doc/_themes/sphinx_rtd_theme/breadcrumbs.html @@ -6,14 +6,16 @@ {% endfor %}
  • {{ title }}
  • - {% if display_github %} - Edit on GitHub - {% elif display_bitbucket %} - Edit on Bitbucket - {% elif show_source and source_url_prefix %} - View page source - {% elif show_source and has_source and sourcename %} - View page source + {% if pagename != "search" %} + {% if display_github %} + Edit on GitHub + {% elif display_bitbucket %} + Edit on Bitbucket + {% elif show_source and source_url_prefix %} + View page source + {% elif show_source and has_source and sourcename %} + View page source + {% endif %} {% endif %}
  • diff --git a/doc/_themes/sphinx_rtd_theme/footer.html b/doc/_themes/sphinx_rtd_theme/footer.html index 0123a5de..6347a440 100644 --- a/doc/_themes/sphinx_rtd_theme/footer.html +++ b/doc/_themes/sphinx_rtd_theme/footer.html @@ -2,10 +2,10 @@ {% if next or prev %} {% endif %} diff --git a/doc/_themes/sphinx_rtd_theme/layout.html b/doc/_themes/sphinx_rtd_theme/layout.html index 0ddf6ee8..9481d8b4 100644 --- a/doc/_themes/sphinx_rtd_theme/layout.html +++ b/doc/_themes/sphinx_rtd_theme/layout.html @@ -107,7 +107,7 @@