forked from zaclys/searxng
e3282748d0
A new option is added to engines to hide error messages from users. It is called `display_error_messages` and by default it is set to `True`. If it is set to `False` error messages do not show up on the UI. Keep in mind that engines are still suspended if needed regardless of this setting. Closes #1828
76 lines
2.0 KiB
ReStructuredText
76 lines
2.0 KiB
ReStructuredText
.. _engines generic:
|
|
|
|
=======
|
|
Engines
|
|
=======
|
|
|
|
.. sidebar:: Further reading ..
|
|
|
|
- :ref:`settings engine`
|
|
- :ref:`engine settings`
|
|
- :ref:`engine file`
|
|
|
|
============= =========== ==================== ============
|
|
:ref:`engine settings` :ref:`engine file`
|
|
------------------------- ---------------------------------
|
|
Name (cfg) Categories
|
|
------------------------- ---------------------------------
|
|
Engine .. Paging support **P**
|
|
------------------------- -------------------- ------------
|
|
Shortcut **S** Language support **L**
|
|
Timeout **TO** Time range support **TR**
|
|
Disabled **D** Offline **O**
|
|
------------- ----------- -------------------- ------------
|
|
Safe search **SS**
|
|
------------- ----------- ---------------------------------
|
|
Weigth **W**
|
|
------------- ----------- ---------------------------------
|
|
Disabled **D**
|
|
------------- ----------- ---------------------------------
|
|
Show errors **DE**
|
|
============= =========== =================================
|
|
|
|
Configuration defaults (at built time):
|
|
|
|
.. _configured engines:
|
|
|
|
.. jinja:: webapp
|
|
|
|
.. flat-table:: Engines configured at built time (defaults)
|
|
:header-rows: 1
|
|
:stub-columns: 2
|
|
|
|
* - Name (cfg)
|
|
- S
|
|
- Engine
|
|
- TO
|
|
- Categories
|
|
- P
|
|
- L
|
|
- SS
|
|
- D
|
|
- TR
|
|
- O
|
|
- W
|
|
- D
|
|
- DE
|
|
|
|
{% for name, mod in engines.items() %}
|
|
|
|
* - {{name}}
|
|
- !{{mod.shortcut}}
|
|
- {{mod.__name__}}
|
|
- {{mod.timeout}}
|
|
- {{", ".join(mod.categories)}}
|
|
- {{(mod.paging and "y") or ""}}
|
|
- {{(mod.language_support and "y") or ""}}
|
|
- {{(mod.safesearch and "y") or ""}}
|
|
- {{(mod.disabled and "y") or ""}}
|
|
- {{(mod.time_range_support and "y") or ""}}
|
|
- {{(mod.offline and "y") or ""}}
|
|
- {{mod.weight or 1 }}
|
|
- {{(mod.disabled and "y") or ""}}
|
|
- {{(mod.display_error_messages and "y") or ""}}
|
|
|
|
{% endfor %}
|