[1.5.x] Fixed #21558 -- Support building CHM files.
Thanks Michał Pasternak.
Backport of cd9e85ec
from master.
This commit is contained in:
parent
86c5115cad
commit
deeed42253
|
@ -17,6 +17,9 @@
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
|
{# When building htmlhelp (CHM format) disable JQuery inclusion, #}
|
||||||
|
{# as it causes problems in compiled CHM files. #}
|
||||||
|
{% if builder != "htmlhelp" %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
|
<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -51,6 +54,7 @@
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block document %}
|
{% block document %}
|
||||||
|
|
Loading…
Reference in New Issue