mirror of
https://github.com/searxng/searxng.git
synced 2026-09-11 16:56:05 +00:00
[docs] fix some minor reST markup issues in the doc-string (#6646)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -305,7 +305,7 @@ class Engine(abc.ABC): # pylint: disable=too-few-public-methods
|
|||||||
|
|
||||||
region: str = ""
|
region: str = ""
|
||||||
"""For an engine, when there is ``region: ...`` in the YAML settings the engine
|
"""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
|
.. code:: yaml
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Lofgren .
|
|||||||
.. _marginalia filters:
|
.. _marginalia filters:
|
||||||
|
|
||||||
Marginalia Filters
|
Marginalia Filters
|
||||||
=================
|
==================
|
||||||
|
|
||||||
Custom filters enable server-side customization of Marginalia search results.
|
Custom filters enable server-side customization of Marginalia search results.
|
||||||
Filter definitions are written in XML and scoped to an API key. Filters can
|
Filter definitions are written in XML and scoped to an API key. Filters can
|
||||||
|
|||||||
@@ -77,10 +77,10 @@ notifications, but only as a fallback -- a request whose own locale matches
|
|||||||
``kk``, ``uk``, ``tr`` or ``en``."""
|
``kk``, ``uk``, ``tr`` or ``en``."""
|
||||||
|
|
||||||
region: str = ""
|
region: str = ""
|
||||||
"""Optional Yandex `region id`.
|
"""Optional Yandex `region id`_.
|
||||||
Only meaningful together with ``SEARCH_TYPE_RU``.
|
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
|
page_size: int = 10
|
||||||
|
|||||||
Reference in New Issue
Block a user