From 15a91992e474c697ec2b0227865e85d200ec7dd6 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 4 Sep 2026 11:18:59 +0200 Subject: [docs] fix some minor reST markup issues in the doc-string (#6646) Signed-off-by: Markus Heiser --- searx/enginelib/__init__.py | 2 +- searx/engines/marginalia.py | 2 +- searx/engines/yandex_api.py | 4 ++-- 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 -- cgit v1.2.3