From 8658617ad06d0bed0b288e3799cec9147a4c3be7 Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 7 Jan 2014 23:42:42 -0500 Subject: [PATCH 1/2] Fix the link to theme.js. Fixes #75 --- sphinx_rtd_theme/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 1e05b1ef..4375286e 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -50,7 +50,7 @@ {# RTD hosts these file themselves, so just load on non RTD builds #} {% if not READTHEDOCS %} - + {% endif %} {% for cssfile in css_files %} From 8c6cc8875a465a5e68dc1673c45edf3e6354801c Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 7 Jan 2014 23:43:18 -0500 Subject: [PATCH 2/2] Default to https on modernizr. This stops content warnings when users use https, and has no ill effects when they're on http. Fixes #72 --- sphinx_rtd_theme/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 4375286e..16df0fa3 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -85,7 +85,7 @@ {%- endblock %} {%- block extrahead %} {% endblock %} - +