From 625ebf9cef0cd50153e035a372819af5ebcb6713 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 20 Dec 2021 10:42:24 +0100 Subject: [PATCH] [doc] engine-table: group columns logically --- docs/admin/engines/configured_engines.rst | 41 +++++++---------------- 1 file changed, 12 insertions(+), 29 deletions(-) diff --git a/docs/admin/engines/configured_engines.rst b/docs/admin/engines/configured_engines.rst index 0bddc353e..b6b0921b0 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 `) + - + - :cspan:`3` :ref:`Supported features ` + * - 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 %}