summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2026-09-04 11:18:59 +0200
committerGitHub <noreply@github.com>2026-09-04 11:18:59 +0200
commit15a91992e474c697ec2b0227865e85d200ec7dd6 (patch)
tree7257e62329e01e51d268477927297bc74fdaab14
parent03c439a5b930a6d7cceb0a2c7ad76e24d2c7d514 (diff)
[docs] fix some minor reST markup issues in the doc-string (#6646)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/enginelib/__init__.py2
-rw-r--r--searx/engines/marginalia.py2
-rw-r--r--searx/engines/yandex_api.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/searx/enginelib/__init__.py b/searx/enginelib/__init__.py
index 1a7e4ef8c..11f1bec17 100644
--- a/searx/enginelib/__init__.py
+++ b/searx/enginelib/__init__.py
@@ -305,7 +305,7 @@ class Engine(abc.ABC): # pylint: disable=too-few-public-methods
region: str = ""
"""For an engine, when there is ``region: ...`` in the YAML settings the engine
- does support only this one region::
+ does support only this one region:
.. code:: yaml
diff --git a/searx/engines/marginalia.py b/searx/engines/marginalia.py
index 9257fabf6..4649dec92 100644
--- a/searx/engines/marginalia.py
+++ b/searx/engines/marginalia.py
@@ -10,7 +10,7 @@ Lofgren .
.. _marginalia filters:
Marginalia Filters
-=================
+==================
Custom filters enable server-side customization of Marginalia search results.
Filter definitions are written in XML and scoped to an API key. Filters can
diff --git a/searx/engines/yandex_api.py b/searx/engines/yandex_api.py
index 1da29839d..87b6c9856 100644
--- a/searx/engines/yandex_api.py
+++ b/searx/engines/yandex_api.py
@@ -77,10 +77,10 @@ notifications, but only as a fallback -- a request whose own locale matches
``kk``, ``uk``, ``tr`` or ``en``."""
region: str = ""
-"""Optional Yandex `region id`.
+"""Optional Yandex `region id`_.
Only meaningful together with ``SEARCH_TYPE_RU``.
-__ https://aistudio.yandex.ru/docs/en/search-api/reference/regions.html
+.. _region id: https://aistudio.yandex.ru/docs/en/search-api/reference/regions.html
"""
page_size: int = 10