diff --git a/doc/_themes/sphinx_rtd_theme/breadcrumbs.html b/doc/_themes/sphinx_rtd_theme/breadcrumbs.html
index d9b29371..ff0938e5 100644
--- a/doc/_themes/sphinx_rtd_theme/breadcrumbs.html
+++ b/doc/_themes/sphinx_rtd_theme/breadcrumbs.html
@@ -7,9 +7,9 @@
{{ title }}
{% if display_github %}
- Edit on GitHub
+ Edit on GitHub
{% elif display_bitbucket %}
- Edit on Bitbucket
+ Edit on Bitbucket
{% 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 21a6b55d..3c7afed3 100644
--- a/doc/_themes/sphinx_rtd_theme/footer.html
+++ b/doc/_themes/sphinx_rtd_theme/footer.html
@@ -2,7 +2,7 @@
{% if next or prev %}
{% include "versions.html" %}
+
+ {% if not embedded %}
+
+
+ {%- for scriptfile in script_files %}
+
+ {%- endfor %}
+
+ {% endif %}
+
+ {# RTD hosts this file, so just load on non RTD builds #}
+ {% if not READTHEDOCS %}
+
+ {% endif %}
+
+ {# STICKY NAVIGATION #}
+ {% if theme_sticky_navigation %}
+
+ {% endif %}
+
+ {%- block footer %} {% endblock %}
+