[Python-checkins] r62675 - doctools/trunk/sphinx/templates/layout.html

georg.brandl python-checkins at python.org
Sat May 3 22:34:26 CEST 2008


Author: georg.brandl
Date: Sat May  3 22:34:26 2008
New Revision: 62675

Log:
Don't insert OpenSearch tag for HTML help.


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

Modified: doctools/trunk/sphinx/templates/layout.html
==============================================================================
--- doctools/trunk/sphinx/templates/layout.html	(original)
+++ doctools/trunk/sphinx/templates/layout.html	Sat May  3 22:34:26 2008
@@ -118,7 +118,7 @@
     <script type="text/javascript" src="{{ pathto('_static/interface.js', 1) }}"></script>
     <script type="text/javascript" src="{{ pathto('_static/doctools.js', 1) }}"></script>
     {%- endif %}
-    {%- if use_opensearch %}
+    {%- if use_opensearch and builder != 'htmlhelp' %}
     <link rel="search" type="application/opensearchdescription+xml"
           title="Search within {{ docstitle }}"
           href="{{ pathto('_static/opensearch.xml', 1) }}"/>


More information about the Python-checkins mailing list