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:52:30 +0100 |
| commit | 2d4f399ad40c63bbfd7917a9f2006f4ebb495099 (patch) | |
| tree | 4fc11039f8a2c49ede151167237fcc4e4b80da5f | |
| parent | 23126866ecf3b6375a7c59d5623801fc9b4aee2b (diff) | |
[1.4.x] Fixed #21558 -- Support building CHM files.
Thanks MichaĆ Pasternak.
Backport of cd9e85ec from master.
| -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 ef91dd77a9..caf990c0b8 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 %} |
