1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #21558 -- Support building CHM files.

Thanks Michał Pasternak.
This commit is contained in:
Aymeric Augustin 2013-12-04 16:46:56 +01:00
parent ce05b8a69e
commit cd9e85ece9

View File

@ -17,6 +17,9 @@
{%- endmacro %}
{% block extrahead %}
{# When building htmlhelp (CHM format) disable JQuery inclusion, #}
{# as it causes problems in compiled CHM files. #}
{% if builder != "htmlhelp" %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
<script type="text/javascript">
@ -51,6 +54,7 @@
});
})(jQuery);
</script>
{% endif %}
{% endblock %}
{% block document %}