[Python-checkins] r66107 - doctools/trunk/sphinx/templates/modindex.html

georg.brandl python-checkins at python.org
Mon Sep 1 16:39:55 CEST 2008


Author: georg.brandl
Date: Mon Sep  1 16:39:55 2008
New Revision: 66107

Log:
When building html help, no scripts are embedded.


Modified:
   doctools/trunk/sphinx/templates/modindex.html

Modified: doctools/trunk/sphinx/templates/modindex.html
==============================================================================
--- doctools/trunk/sphinx/templates/modindex.html	(original)
+++ doctools/trunk/sphinx/templates/modindex.html	Mon Sep  1 16:39:55 2008
@@ -1,7 +1,7 @@
 {% extends "layout.html" %}
 {% set title = _('Global Module Index') %}
 {% block extrahead %}
-{% if collapse_modindex %}
+{% if builder != 'htmlhelp' and collapse_modindex %}
     <script type="text/javascript">
       DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
     </script>


More information about the Python-checkins mailing list