Commits

Anonymous committed 23f8cae

Don't insert OpenSearch tag for HTML help.

  • Participants
  • Parent commits f2e47d1

Comments (0)

Files changed (1)

sphinx/templates/layout.html

     <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) }}"/>