[doc] engine-table: merge Engine type column

This commit is contained in:
Martin Fischer 2021-12-20 11:06:42 +01:00
parent 292faf213c
commit 26b0ecddcf
1 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,6 @@ Explanation of the :ref:`general engine configuration` shown in the table
- Language - Language
- Safe search - Safe search
- Time range - Time range
- Engine type
{% for name, mod in engines.items() %} {% for name, mod in engines.items() %}
@ -44,11 +43,14 @@ Explanation of the :ref:`general engine configuration` shown in the table
- {{mod.timeout}} - {{mod.timeout}}
- {{mod.weight or 1 }} - {{mod.weight or 1 }}
- {{", ".join(mod.categories)}} - {{", ".join(mod.categories)}}
{% if mod.engine_type == 'online' %}
- {{(mod.paging and "y") or ""}} - {{(mod.paging and "y") or ""}}
- {{(mod.language_support and "y") or ""}} - {{(mod.language_support and "y") or ""}}
- {{(mod.safesearch and "y") or ""}} - {{(mod.safesearch and "y") or ""}}
- {{(mod.time_range_support and "y") or ""}} - {{(mod.time_range_support and "y") or ""}}
- {{mod.engine_type or ""}} {% else %}
- :cspan:`3` not applicable ({{mod.engine_type}})
{% endif %}
{% endfor %} {% endfor %}