summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-24 09:58:57 +0100
committerAlexandre Flament <alex@al-f.net>2021-02-01 17:10:37 +0100
commitca93a018444041f64c193b4e623b9d6d1150b042 (patch)
treea5c2625b2b929c9144a7c78f9cd06fe54ef9400e /docs
parent99244440e42b970252b63fb1194ee1503afda704 (diff)
downloadsearxng-ca93a018444041f64c193b4e623b9d6d1150b042.tar.gz
searxng-ca93a018444041f64c193b4e623b9d6d1150b042.zip
[mod] dynamically set language_support variable
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/engine_overview.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/dev/engine_overview.rst b/docs/dev/engine_overview.rst
index 0d2c00e87..7007e7b99 100644
--- a/docs/dev/engine_overview.rst
+++ b/docs/dev/engine_overview.rst
@@ -42,7 +42,6 @@ argument type information
======================= =========== ========================================================
categories list pages, in which the engine is working
paging boolean support multible pages
-language_support boolean support language choosing
time_range_support boolean support search time range
engine_type str ``online`` by default, other possibles values are
``offline``, ``online_dictionnary``, ``online_currency``
@@ -97,7 +96,6 @@ example code
# engine dependent config
categories = ['general']
paging = True
- language_support = True
making a request