searxng/docs/admin
Martin Fischer 5dd28ff04b [enh] introduce Engine class
Previously engines were defined in modules, which where then
stapled with logger, supported_languages & language_aliases
via monkey patching in searx/engines/__init__.py.

Monkey patching is obviously a bad practice since it confuses
humans as well as static type checkers. But there were more problems:

* there were no type hints for the method input and output types

* the request method did not even make a clear distinction between input
  and output (abusing a single "params" dictionary for both)

This commit introduces a new class-based architecture for engines,
in a backwards-compatiable manner: allowing old-style module engines
to be used along witn new-style class-based engines.
2022-01-28 13:23:41 +01:00
..
engines [enh] introduce Engine class 2022-01-28 13:23:41 +01:00
api.rst [brand] docs - normalize project name to SearXNG 2021-09-13 14:36:24 +02:00
arch_public.dot reference docs.searxng.org 2022-01-02 21:18:29 +01:00
architecture.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
buildhosts.rst [doc] modify docs to fit to the new build boilerplate 2021-04-23 11:26:22 +02:00
filtron.rst fix minor typo 2022-01-02 23:13:36 +01:00
index.rst [docs] Switch from searx to SearXNG 2022-01-17 10:05:13 +01:00
installation-apache.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
installation-docker.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
installation-nginx.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
installation-searxng.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
installation-switch2ng.rst [docs] fix some warnings from Sphinx-doc update 4.3.2 to 4.4.0 2022-01-21 09:35:00 +01:00
installation-uwsgi.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
installation.rst [docs] Switch from searx to SearXNG 2022-01-17 10:05:13 +01:00
morty.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00
plugins.rst [mod] documentation: change the jinja context doesn't depend on searx.webapp 2020-12-27 10:00:35 +01:00
update-searxng.rst [brand] SearXNG - docs rename links and fix documentation 2021-11-18 18:27:26 +01:00