]> granicus.if.org Git - python/commitdiff
Fix opensearch template.
authorGeorg Brandl <georg@python.org>
Sun, 6 Jul 2008 17:36:20 +0000 (17:36 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 6 Jul 2008 17:36:20 +0000 (17:36 +0000)
Doc/tools/sphinxext/opensearch.xml

index d672c2e2b8c6c903b6eae09fad230779f4451a27..69cec804cd0e90b0fff6369534b806d4f6a2536f 100644 (file)
@@ -1,14 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
-  <ShortName>Python Docs</ShortName>
-  <LongName>Python Documentation</LongName>
-  <Description>Search the Python documentation</Description>
-  <InputEncoding>utf-8</InputEncoding>
-  <Url type="text/html" method="get" template="{{ pathto('search') }}?">
-    <Param name="q" value="{searchTerms}" />
-    <Param name="check_keywords" value="yes" />
-    <Param name="area" value="default" />
-  </Url>
-  <Image height="16" width="16" type="image/x-icon">http://www.python.org/images/favicon16x16.ico</Image>
-</OpenSearchDescription>
-
+{% extends "!opensearch.xml" %}
+{% block extra -%}
+<Image height="16" width="16" type="image/x-icon">http://www.python.org/images/favicon16x16.ico</Image>
+{%- endblock %}