summaryrefslogtreecommitdiff
path: root/sphinx/websupport
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 12:47:49 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 12:47:49 +0100
commitcfe85b4e8ba0f79ca028798af21feec9b772c9e5 (patch)
tree165250225e473435a6c11298326aae9a8e849fec /sphinx/websupport
parent7beb8533b56c71b07a040ecb71ca1e13a0b52932 (diff)
downloadsphinx-git-cfe85b4e8ba0f79ca028798af21feec9b772c9e5.tar.gz
Determine search language in builder, and add missing method in websupport indexer implementations.
Diffstat (limited to 'sphinx/websupport')
-rw-r--r--sphinx/websupport/search/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/websupport/search/__init__.py b/sphinx/websupport/search/__init__.py
index 58773fa01..9410973ca 100644
--- a/sphinx/websupport/search/__init__.py
+++ b/sphinx/websupport/search/__init__.py
@@ -113,6 +113,11 @@ class BaseSearch(object):
except TypeError:
return context
+ def context_for_searchtool(self):
+ """Required by the HTML builder."""
+ return {}
+
+
# The built-in search adapters.
SEARCH_ADAPTERS = {
'xapian': ('xapiansearch', 'XapianSearch'),