summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/gitea.py2
-rw-r--r--searx/engines/json_engine.py4
-rw-r--r--searx/engines/lemmy.py2
-rw-r--r--searx/engines/qwant.py2
-rw-r--r--searx/engines/seekr.py2
-rw-r--r--searx/engines/xpath.py2
-rw-r--r--searx/utils.py2
7 files changed, 8 insertions, 8 deletions
diff --git a/searx/engines/gitea.py b/searx/engines/gitea.py
index 446d84472..ff6f95c83 100644
--- a/searx/engines/gitea.py
+++ b/searx/engines/gitea.py
@@ -30,7 +30,7 @@ Optional settings are:
shortcut: forgejo
If you would like to use additional instances, just configure new engines in the
-:ref:`settings <settings engine>` and set the ``base_url``.
+:ref:`settings <settings engines>` and set the ``base_url``.
Implementation
diff --git a/searx/engines/json_engine.py b/searx/engines/json_engine.py
index 1906f9d9e..a243d5c85 100644
--- a/searx/engines/json_engine.py
+++ b/searx/engines/json_engine.py
@@ -54,7 +54,7 @@ Example
=======
Here is a simple example of a JSON engine configure in the :ref:`settings
-engine` section, further read :ref:`engines-dev`.
+engines` section, further read :ref:`engines-dev`.
.. code:: yaml
@@ -384,7 +384,7 @@ def extract_response_info(result):
def response(resp):
- '''Scrap *results* from the response (see :ref:`engine results`).'''
+ '''Scrap *results* from the response (see :ref:`result types`).'''
results = []
if no_result_for_http_status and resp.status_code in no_result_for_http_status:
diff --git a/searx/engines/lemmy.py b/searx/engines/lemmy.py
index 1845431d7..d301de4c6 100644
--- a/searx/engines/lemmy.py
+++ b/searx/engines/lemmy.py
@@ -16,7 +16,7 @@ The engine has the following additional settings:
- :py:obj:`lemmy_type`
This implementation is used by different lemmy engines in the :ref:`settings.yml
-<settings engine>`:
+<settings engines>`:
.. code:: yaml
diff --git a/searx/engines/qwant.py b/searx/engines/qwant.py
index 7ad6cf58a..8ab02b256 100644
--- a/searx/engines/qwant.py
+++ b/searx/engines/qwant.py
@@ -17,7 +17,7 @@ The engine has the following additional settings:
- :py:obj:`qwant_categ`
This implementation is used by different qwant engines in the :ref:`settings.yml
-<settings engine>`:
+<settings engines>`:
.. code:: yaml
diff --git a/searx/engines/seekr.py b/searx/engines/seekr.py
index 967eef86d..3bd739964 100644
--- a/searx/engines/seekr.py
+++ b/searx/engines/seekr.py
@@ -13,7 +13,7 @@ The engine has the following additional settings:
- :py:obj:`api_key`
This implementation is used by seekr engines in the :ref:`settings.yml
-<settings engine>`:
+<settings engines>`:
.. code:: yaml
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py
index db892d392..b1bef923d 100644
--- a/searx/engines/xpath.py
+++ b/searx/engines/xpath.py
@@ -52,7 +52,7 @@ Example
=======
Here is a simple example of a XPath engine configured in the :ref:`settings
-engine` section, further read :ref:`engines-dev`.
+engines` section, further read :ref:`engines-dev`.
.. code:: yaml
diff --git a/searx/utils.py b/searx/utils.py
index c7a579451..f342c2803 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -473,7 +473,7 @@ def ecma_unescape(string: str) -> str:
def remove_pua_from_str(string):
"""Removes unicode's "PRIVATE USE CHARACTER"s (PUA_) from a string.
- _PUA: https://en.wikipedia.org/wiki/Private_Use_Areas
+ .. _PUA: https://en.wikipedia.org/wiki/Private_Use_Areas
"""
pua_ranges = ((0xE000, 0xF8FF), (0xF0000, 0xFFFFD), (0x100000, 0x10FFFD))
s = []