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 @@