Commit 6691abcd authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

[1.6.x] Fixed #21558 -- Support building CHM files.

Thanks Michał Pasternak.

Backport of cd9e85ec from master.
parent c8cf49e5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 %}