Always bundle the theme CSS/JS

This commit is contained in:
David Fischer 2018-04-17 23:11:02 -07:00
parent 7cd846b4fd
commit 41d251a706
No known key found for this signature in database
GPG Key ID: F0C9B0ADA737AB60

View File

@ -40,10 +40,7 @@
{% endif %} {% endif %}
{# RTD hosts this file, so just load on non RTD builds #}
{%- if not READTHEDOCS %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
{%- endif %}
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
{%- for css in css_files %} {%- for css in css_files %}
{%- if css|attr("rel") %} {%- if css|attr("rel") %}
@ -208,10 +205,7 @@
{% endif %} {% endif %}
{# RTD hosts this file, so just load on non RTD builds #}
{% if not READTHEDOCS %}
<script type="text/javascript" src="{{ pathto('_static/js/theme.js', 1) }}"></script> <script type="text/javascript" src="{{ pathto('_static/js/theme.js', 1) }}"></script>
{% endif %}
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {