mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 10:51:01 +00:00
[doc] add example for enabling an engine disabled by default
This commit is contained in:
parent
675dc04917
commit
27809c84f8
2 changed files with 7 additions and 2 deletions
|
@ -168,3 +168,4 @@ features or generally made searx better:
|
||||||
- Ahmad Alkadri `<https://github.com/ahmad-alkadri>`_
|
- Ahmad Alkadri `<https://github.com/ahmad-alkadri>`_
|
||||||
- Milad Laly @Milad-Laly
|
- Milad Laly @Milad-Laly
|
||||||
- @llmII
|
- @llmII
|
||||||
|
- @blob42 `<https://blob42.xyz>`_
|
||||||
|
|
|
@ -657,8 +657,9 @@ and can relied on the default configuration :origin:`searx/settings.yml` using:
|
||||||
``engines:``
|
``engines:``
|
||||||
With ``use_default_settings: true``, each settings can be override in a
|
With ``use_default_settings: true``, each settings can be override in a
|
||||||
similar way, the ``engines`` section is merged according to the engine
|
similar way, the ``engines`` section is merged according to the engine
|
||||||
``name``. In this example, SearXNG will load all the engine and the arch linux
|
``name``. In this example, SearXNG will load all the default engines, will
|
||||||
wiki engine has a :ref:`token <private engines>`:
|
enable the ``bing`` engine and define a :ref:`token <private engines>` for
|
||||||
|
the arch linux engine:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
@ -668,6 +669,9 @@ and can relied on the default configuration :origin:`searx/settings.yml` using:
|
||||||
engines:
|
engines:
|
||||||
- name: arch linux wiki
|
- name: arch linux wiki
|
||||||
tokens: ['$ecretValue']
|
tokens: ['$ecretValue']
|
||||||
|
- name: bing
|
||||||
|
disabled: false
|
||||||
|
|
||||||
|
|
||||||
``engines:`` / ``remove:``
|
``engines:`` / ``remove:``
|
||||||
It is possible to remove some engines from the default settings. The following
|
It is possible to remove some engines from the default settings. The following
|
||||||
|
|
Loading…
Reference in a new issue