summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-12-20 10:42:24 +0100
committerMartin Fischer <martin@push-f.com>2021-12-20 10:49:29 +0100
commit625ebf9cef0cd50153e035a372819af5ebcb6713 (patch)
tree2eed1ca1bf539bffb4468289d53c372850464777 /docs
parent966296b866f32e07877ff96ffe35fe882fbefa1c (diff)
[doc] engine-table: group columns logically
Diffstat (limited to 'docs')
-rw-r--r--docs/admin/engines/configured_engines.rst41
1 files changed, 12 insertions, 29 deletions
diff --git a/docs/admin/engines/configured_engines.rst b/docs/admin/engines/configured_engines.rst
index 0bddc353..b6b0921b 100644
--- a/docs/admin/engines/configured_engines.rst
+++ b/docs/admin/engines/configured_engines.rst
@@ -12,62 +12,45 @@ Configured Engines
Explanation of the :ref:`general engine configuration` shown in the table
:ref:`configured engines`.
-.. table:: The legend for the following table
- :width: 100%
-
- ========================= =================================
- :ref:`engine settings` :ref:`engine file`
- ------------------------- ---------------------------------
- Name Categories
- ------------------------- ---------------------------------
- Engine Paging support
- ------------------------- ---------------------------------
- Shortcut Language support
- Timeout Time range support
- Disabled Engine type
- ------------------------- ---------------------------------
- Safe search
- ------------------------- ---------------------------------
- Weigth
- ------------------------- ---------------------------------
- Show errors
- ========================= =================================
-
.. jinja:: searx
- .. flat-table:: Engines configured at built time (defaults)
- :header-rows: 1
+ .. flat-table::
+ :header-rows: 2
:stub-columns: 2
+ * - :cspan:`6` Engines configured by default (in :ref:`settings.yml <engine settings>`)
+ -
+ - :cspan:`3` :ref:`Supported features <engine file>`
+
* - Name
- Shortcut
- Engine
+ - Disabled
- Timeout
+ - Weight
+ - Display errors
- Categories
- Paging
- Language
- Safe search
- - Disabled
- Time range
- Engine type
- - Weight
- - Display errors
{% for name, mod in engines.items() %}
* - `{{name}} <{{mod.about and mod.about.website}}>`_
- !{{mod.shortcut}}
- {{mod.__name__}}
+ - {{(mod.disabled and "y") or ""}}
- {{mod.timeout}}
+ - {{mod.weight or 1 }}
+ - {{(mod.display_error_messages and "y") or ""}}
- {{", ".join(mod.categories)}}
- {{(mod.paging and "y") or ""}}
- {{(mod.language_support and "y") or ""}}
- {{(mod.safesearch and "y") or ""}}
- - {{(mod.disabled and "y") or ""}}
- {{(mod.time_range_support and "y") or ""}}
- {{mod.engine_type or ""}}
- - {{mod.weight or 1 }}
- - {{(mod.display_error_messages and "y") or ""}}
{% endfor %}