From 524a1f9498b7d93a6df98b57d933e4023e6d4a8b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 1 Apr 2015 23:11:07 +0900 Subject: [PATCH] Update sphinx_rtd_theme --- doc/_themes/sphinx_rtd_theme/__init__.py | 2 +- doc/_themes/sphinx_rtd_theme/breadcrumbs.html | 4 ++- doc/_themes/sphinx_rtd_theme/footer.html | 5 +++- doc/_themes/sphinx_rtd_theme/layout.html | 25 +++++++++++++++--- .../static/css/badge_only.css.map | 7 +++++ .../sphinx_rtd_theme/static/css/theme.css | 6 ++--- .../sphinx_rtd_theme/static/css/theme.css.map | 7 +++++ .../static/fonts/Inconsolata-Bold.ttf | Bin 0 -> 47064 bytes .../static/fonts/Inconsolata.ttf | Bin 0 -> 63184 bytes .../static/fonts/Lato-Bold.ttf | Bin 0 -> 82368 bytes .../static/fonts/Lato-Regular.ttf | Bin 0 -> 81980 bytes .../static/fonts/RobotoSlab-Bold.ttf | Bin 0 -> 36596 bytes .../static/fonts/RobotoSlab-Regular.ttf | Bin 0 -> 36276 bytes .../static/js/modernizr.min.js | 4 +++ .../sphinx_rtd_theme/static/js/theme.js | 21 ++++++++------- doc/_themes/sphinx_rtd_theme/theme.conf | 1 + 16 files changed, 63 insertions(+), 19 deletions(-) create mode 100644 doc/_themes/sphinx_rtd_theme/static/css/badge_only.css.map create mode 100644 doc/_themes/sphinx_rtd_theme/static/css/theme.css.map create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/Inconsolata-Bold.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/Inconsolata.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/Lato-Bold.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/Lato-Regular.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/RobotoSlab-Bold.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/fonts/RobotoSlab-Regular.ttf create mode 100644 doc/_themes/sphinx_rtd_theme/static/js/modernizr.min.js diff --git a/doc/_themes/sphinx_rtd_theme/__init__.py b/doc/_themes/sphinx_rtd_theme/__init__.py index 1440863d..fcce3bfc 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, 5) +VERSION = (0, 1, 7) __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 ff0938e5..af4f55a4 100644 --- a/doc/_themes/sphinx_rtd_theme/breadcrumbs.html +++ b/doc/_themes/sphinx_rtd_theme/breadcrumbs.html @@ -7,9 +7,11 @@
  • {{ title }}
  • {% if display_github %} - Edit on 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 %} diff --git a/doc/_themes/sphinx_rtd_theme/footer.html b/doc/_themes/sphinx_rtd_theme/footer.html index 94f6dc37..0123a5de 100644 --- a/doc/_themes/sphinx_rtd_theme/footer.html +++ b/doc/_themes/sphinx_rtd_theme/footer.html @@ -28,6 +28,9 @@

    + {%- if show_sphinx %} {% trans %}Built with Sphinx using a theme provided by Read the Docs{% endtrans %}. - + {%- endif %} + + diff --git a/doc/_themes/sphinx_rtd_theme/layout.html b/doc/_themes/sphinx_rtd_theme/layout.html index 5f9ef21e..0ddf6ee8 100644 --- a/doc/_themes/sphinx_rtd_theme/layout.html +++ b/doc/_themes/sphinx_rtd_theme/layout.html @@ -12,6 +12,7 @@ + {{ metatags }} {% block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} @@ -23,7 +24,6 @@ {% endif %} {# CSS #} - {# OPENSEARCH #} {% if not embedded %} @@ -42,6 +42,10 @@ {% endfor %} + {% for cssfile in extra_css_files %} + + {% endfor %} + {%- block linktags %} {%- if hasdoc('about') %} + @@ -83,9 +87,22 @@