[docs] add documentation about the `general.donation_url:` setting

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-07-02 13:50:06 +02:00
parent f8f239fe1f
commit faf56d4f96
1 changed files with 12 additions and 4 deletions

View File

@ -70,15 +70,23 @@ Global Settings
.. code:: yaml .. code:: yaml
general: general:
debug: false # Debug mode, only for development debug: false
instance_name: "SearXNG" # displayed name instance_name: "SearXNG"
privacypolicy_url: false # https://example.com/privacy privacypolicy_url: false
contact_url: false # mailto:contact@example.com donation_url: https://docs.searxng.org/donate.html
contact_url: false
enable_metrics: true
``debug`` : ``$SEARXNG_DEBUG`` ``debug`` : ``$SEARXNG_DEBUG``
Allow a more detailed log if you run SearXNG directly. Display *detailed* error Allow a more detailed log if you run SearXNG directly. Display *detailed* error
messages in the browser too, so this must be deactivated in production. messages in the browser too, so this must be deactivated in production.
``donation_url`` :
At default the donation link points to the `SearXNG project
<https://docs.searxng.org/donate.html>`_. Set value to ``true`` to use your
own donation page written in the :ref:`searx/info/en/donate.md
<searx.infopage>` and use ``false`` to disable the donation link altogether.
``privacypolicy_url``: ``privacypolicy_url``:
Link to privacy policy. Link to privacy policy.