aboutsummaryrefslogtreecommitdiffstats
path: root/doc/_themes/pysidedocs/opensearch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/_themes/pysidedocs/opensearch.xml')
-rw-r--r--doc/_themes/pysidedocs/opensearch.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/_themes/pysidedocs/opensearch.xml b/doc/_themes/pysidedocs/opensearch.xml
new file mode 100644
index 000000000..03875be49
--- /dev/null
+++ b/doc/_themes/pysidedocs/opensearch.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+ <ShortName>{{ project|e }}</ShortName>
+ <Description>{% trans docstitle=docstitle|e %}Search {{ docstitle }}{% endtrans %}</Description>
+ <InputEncoding>utf-8</InputEncoding>
+ <Url type="text/html" method="get"
+ template="{{ use_opensearch }}/{{ pathto('search') }}?q={searchTerms}&amp;check_keywords=yes&amp;area=default"/>
+ <LongName>{{ docstitle|e }}</LongName>
+{% block extra %} {# Put e.g. an <Image> element here. #} {% endblock %}
+</OpenSearchDescription>