summaryrefslogtreecommitdiff
path: root/docs/admin/engines/configured_engines.rst
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-12-21 17:44:05 +0100
committerMartin Fischer <martin@push-f.com>2021-12-21 21:06:17 +0100
commitca7f1a2da6e09a81a8823b1f146b186132ef0e92 (patch)
treed71b96230e3a0e2c9e7de87d84398684a7a20d3f /docs/admin/engines/configured_engines.rst
parent42d70e15ad2932069aca9434ca3831cc6f210aa0 (diff)
downloadsearxng-ca7f1a2da6e09a81a8823b1f146b186132ef0e92.tar.gz
searxng-ca7f1a2da6e09a81a8823b1f146b186132ef0e92.zip
[doc] engine-table: link module documentation if it exists
Diffstat (limited to 'docs/admin/engines/configured_engines.rst')
-rw-r--r--docs/admin/engines/configured_engines.rst6
1 files changed, 5 insertions, 1 deletions
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__}} <searx/engines/{{mod.__name__}}.py>`
+ - {%- if 'searx.engines.' + mod.__name__ in documented_modules %}
+ :py:mod:`~searx.engines.{{mod.__name__}}`
+ {%- else %}
+ :origin:`{{mod.__name__}} <searx/engines/{{mod.__name__}}.py>`
+ {%- endif %}
- {{(mod.disabled and "y") or ""}}
{%- if mod.about and mod.about.language %}
({{mod.about.language | upper}})