diff options
author | Georg Brandl <georg@python.org> | 2008-07-06 17:36:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-06 17:36:20 (GMT) |
commit | de2939bb750e22afc762e90704c1360f30026115 (patch) | |
tree | 31d3f3ffb1242ce5e358d28eb655ab86689f75cc /Doc | |
parent | eb77fe4cbf4bdb275f22c658ed820c34a9a0b12c (diff) | |
download | cpython-de2939bb750e22afc762e90704c1360f30026115.zip cpython-de2939bb750e22afc762e90704c1360f30026115.tar.gz cpython-de2939bb750e22afc762e90704c1360f30026115.tar.bz2 |
Fix opensearch template.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tools/sphinxext/opensearch.xml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/Doc/tools/sphinxext/opensearch.xml b/Doc/tools/sphinxext/opensearch.xml index d672c2e..69cec80 100644 --- a/Doc/tools/sphinxext/opensearch.xml +++ b/Doc/tools/sphinxext/opensearch.xml @@ -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 %} |