diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-04 16:46:56 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-04 16:46:56 +0100 |
| commit | cd9e85ece94214718257d972e9e5ab4bac3f0e65 (patch) | |
| tree | a41bf1d30561c018775a71a565f6529f600b4a50 /docs/_theme/djangodocs/layout.html | |
| parent | ce05b8a69ee0e9f7f7e0154b2b9bf1dcb15edbcb (diff) | |
Fixed #21558 -- Support building CHM files.
Thanks MichaĆ Pasternak.
Diffstat (limited to 'docs/_theme/djangodocs/layout.html')
| -rw-r--r-- | docs/_theme/djangodocs/layout.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_theme/djangodocs/layout.html b/docs/_theme/djangodocs/layout.html index fa0b497450..6bb3653084 100644 --- a/docs/_theme/djangodocs/layout.html +++ b/docs/_theme/djangodocs/layout.html @@ -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 %} |
