From 41d251a7067643ca7d0afbde31148c4d9b9d288a Mon Sep 17 00:00:00 2001 From: David Fischer Date: Tue, 17 Apr 2018 23:11:02 -0700 Subject: [PATCH] Always bundle the theme CSS/JS --- sphinx_rtd_theme/layout.html | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index c6e2514c..1baeb7c4 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -40,10 +40,7 @@ {% endif %} - {# RTD hosts this file, so just load on non RTD builds #} - {%- if not READTHEDOCS %} - - {%- endif %} + {%- for css in css_files %} {%- if css|attr("rel") %} @@ -208,10 +205,7 @@ {% endif %} - {# RTD hosts this file, so just load on non RTD builds #} - {% if not READTHEDOCS %} - - {% endif %} +