From 27809c84f8f453d6c865f1654f44becf8a8c2f9e Mon Sep 17 00:00:00 2001 From: blob42 Date: Sun, 12 Feb 2023 18:32:29 +0100 Subject: [PATCH] [doc] add example for enabling an engine disabled by default --- AUTHORS.rst | 1 + docs/admin/engines/settings.rst | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 75bc9f87b..f6c04a35f 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -168,3 +168,4 @@ features or generally made searx better: - Ahmad Alkadri ``_ - Milad Laly @Milad-Laly - @llmII +- @blob42 ``_ diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index 97f5ef63e..e8d00ec1f 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -657,8 +657,9 @@ and can relied on the default configuration :origin:`searx/settings.yml` using: ``engines:`` With ``use_default_settings: true``, each settings can be override in a 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 - wiki engine has a :ref:`token `: + ``name``. In this example, SearXNG will load all the default engines, will + enable the ``bing`` engine and define a :ref:`token ` for + the arch linux engine: .. code-block:: yaml @@ -668,6 +669,9 @@ and can relied on the default configuration :origin:`searx/settings.yml` using: engines: - name: arch linux wiki tokens: ['$ecretValue'] + - name: bing + disabled: false + ``engines:`` / ``remove:`` It is possible to remove some engines from the default settings. The following