mirror of
https://github.com/searxng/searxng.git
synced 2025-07-31 00:52:22 +02:00
[mod] typification of SearXNG: add new result type KeyValue
This patch adds a new result type: KeyValue - Python class: searx/result_types/keyvalue.py - Jinja template: searx/templates/simple/result_templates/keyvalue.html - CSS (less) client/simple/src/less/result_types/keyvalue.less Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
8769b7c6d6
commit
af5dbdf768
8 changed files with 127 additions and 1 deletions
7
docs/dev/result_types/main/keyvalue.rst
Normal file
7
docs/dev/result_types/main/keyvalue.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
.. _result_types.keyvalue:
|
||||
|
||||
=================
|
||||
Key-Value Results
|
||||
=================
|
||||
|
||||
.. automodule:: searx.result_types.keyvalue
|
|
@ -14,6 +14,7 @@ following types have been implemented so far ..
|
|||
:maxdepth: 2
|
||||
|
||||
main/mainresult
|
||||
main/keyvalue
|
||||
|
||||
The :ref:`LegacyResult <LegacyResult>` is used internally for the results that
|
||||
have not yet been typed. The templates can be used as orientation until the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue