From 26b0ecddcf6f5ef31f3aa5467fc43b330e1ffd7a Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 20 Dec 2021 11:06:42 +0100 Subject: [PATCH] [doc] engine-table: merge Engine type column --- docs/admin/engines/configured_engines.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/admin/engines/configured_engines.rst b/docs/admin/engines/configured_engines.rst index 945a72b88..83aa3f554 100644 --- a/docs/admin/engines/configured_engines.rst +++ b/docs/admin/engines/configured_engines.rst @@ -33,7 +33,6 @@ Explanation of the :ref:`general engine configuration` shown in the table - Language - Safe search - Time range - - Engine type {% for name, mod in engines.items() %} @@ -44,11 +43,14 @@ Explanation of the :ref:`general engine configuration` shown in the table - {{mod.timeout}} - {{mod.weight or 1 }} - {{", ".join(mod.categories)}} + {% if mod.engine_type == 'online' %} - {{(mod.paging and "y") or ""}} - {{(mod.language_support and "y") or ""}} - {{(mod.safesearch and "y") or ""}} - {{(mod.time_range_support and "y") or ""}} - - {{mod.engine_type or ""}} + {% else %} + - :cspan:`3` not applicable ({{mod.engine_type}}) + {% endif %} {% endfor %}