summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sphinxext/opensearch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/sphinxext/opensearch.xml')
-rw-r--r--Doc/tools/sphinxext/opensearch.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/tools/sphinxext/opensearch.xml b/Doc/tools/sphinxext/opensearch.xml
new file mode 100644
index 0000000..d672c2e
--- /dev/null
+++ b/Doc/tools/sphinxext/opensearch.xml
@@ -0,0 +1,14 @@
+<?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>
+