From ca7f1a2da6e09a81a8823b1f146b186132ef0e92 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 21 Dec 2021 17:44:05 +0100 Subject: [doc] engine-table: link module documentation if it exists --- docs/admin/engines/configured_engines.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/admin') diff --git a/docs/admin/engines/configured_engines.rst b/docs/admin/engines/configured_engines.rst index dabd35011..0060d1b74 100644 --- a/docs/admin/engines/configured_engines.rst +++ b/docs/admin/engines/configured_engines.rst @@ -43,7 +43,11 @@ Explanation of the :ref:`general engine configuration` shown in the table * - `{{name}} <{{mod.about and mod.about.website}}>`_ - ``!{{mod.shortcut}}`` - - :origin:`{{mod.__name__}} ` + - {%- if 'searx.engines.' + mod.__name__ in documented_modules %} + :py:mod:`~searx.engines.{{mod.__name__}}` + {%- else %} + :origin:`{{mod.__name__}} ` + {%- endif %} - {{(mod.disabled and "y") or ""}} {%- if mod.about and mod.about.language %} ({{mod.about.language | upper}}) -- cgit v1.2.3