Skip to content

Commit

Permalink
[docs] improve Hostname plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis1248 authored and return42 committed Aug 21, 2024
1 parent fe6bac5 commit 2033f30
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions searx/plugins/hostnames.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# pylint: disable=too-many-branches
"""In addition to rewriting/replace reslut URLs, the *hoostnames* plugin offers
other features.
"""
.. attention::
The **"Hostname replace"** plugin has been replace by **"Hostnames
plugin"**, see :pull:`3463` & :pull:`3552`.
The **Hostnames plugin** can be enabled by adding it to the
``enabled_plugins`` **list** in the ``setting.yml`` like so.
.. code:: yaml
enabled_plugins:
- 'Hostnames plugin'
...
- ``hostnames.replace``: A **mapping** of regular expressions to hostnames to be
replaced by other hostnames.
Expand Down

0 comments on commit 2033f30

Please sign in to comment.