diff options
| author | Georg Brandl <georg@python.org> | 2011-01-04 12:47:49 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-01-04 12:47:49 +0100 |
| commit | cfe85b4e8ba0f79ca028798af21feec9b772c9e5 (patch) | |
| tree | 165250225e473435a6c11298326aae9a8e849fec /sphinx/websupport | |
| parent | 7beb8533b56c71b07a040ecb71ca1e13a0b52932 (diff) | |
| download | sphinx-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__.py | 5 |
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'), |
