diff --git a/docs/changelog.rst b/docs/changelog.rst index 2c2c95fb..b503afbe 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,6 +11,8 @@ New Features Fixes ----- + +* Do not rely on readthedocs.org for CSS/JS (#614) * Color accessibility improvements on the left navigation Other Changes @@ -35,6 +37,8 @@ Fixes v0.3.0 ====== +**Note**: this version resulted in some JavaScript incompatibilities when used on readthedocs.org + New Features ------------- diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 6748ae9c..82950a20 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 %} +