diff options
author | Martin Fischer <martin@push-f.com> | 2021-12-20 11:17:48 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-12-20 11:17:52 +0100 |
commit | 1615ec4a2b07121ff951cff833b416bd57dedeca (patch) | |
tree | 96aa7852780bfe36d5d146f650ecbb7c6fc1ad03 /docs | |
parent | 26b0ecddcf6f5ef31f3aa5467fc43b330e1ffd7a (diff) |
[doc] engine-table: group engines by first category
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/engines/configured_engines.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/admin/engines/configured_engines.rst b/docs/admin/engines/configured_engines.rst index 83aa3f55..21bc0e92 100644 --- a/docs/admin/engines/configured_engines.rst +++ b/docs/admin/engines/configured_engines.rst @@ -14,12 +14,16 @@ Explanation of the :ref:`general engine configuration` shown in the table .. jinja:: searx + {% for category, engines in engines.items() | groupby('1.categories.0') %} + + {{category}} search engines + --------------------------------------- + .. flat-table:: :header-rows: 2 :stub-columns: 1 * - :cspan:`5` Engines configured by default (in :ref:`settings.yml <engine settings>`) - - - :cspan:`3` :ref:`Supported features <engine file>` * - Name @@ -28,13 +32,12 @@ Explanation of the :ref:`general engine configuration` shown in the table - Disabled - Timeout - Weight - - Categories - Paging - Language - Safe search - Time range - {% for name, mod in engines.items() %} + {% for name, mod in engines %} * - `{{name}} <{{mod.about and mod.about.website}}>`_ - ``!{{mod.shortcut}}`` @@ -42,7 +45,6 @@ Explanation of the :ref:`general engine configuration` shown in the table - {{(mod.disabled and "y") or ""}} - {{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 ""}} @@ -53,4 +55,4 @@ Explanation of the :ref:`general engine configuration` shown in the table {% endif %} {% endfor %} - + {% endfor %} |