searxng/docs
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
..
_themes/searxng [doc] highlight the current page in the sidebar 2022-01-10 10:48:13 +01:00
admin [enh] introduce Engine class 2022-01-28 13:23:41 +01:00
build-templates [doc] filtron.sh - install github.com/searxng/filtron 2021-11-21 17:13:34 +01:00
dev [fix] typo 'test.sh' in the docs/dev/makefile.rst to 'test.shell' 2022-01-18 12:30:32 +01:00
src [enh] add redis connector searx/shared/redisdb.py 2022-01-03 20:56:39 +01:00
user [doc] move Multilingual Search from user to admin docs 2022-01-10 10:38:15 +01:00
utils [doc] filtron.sh - install github.com/searxng/filtron 2021-11-21 17:13:34 +01:00
conf.py [fix] docs - don't add plugins twice 2022-01-27 08:27:41 +01:00
index.rst [docs] move searxng_extra/ stuff to the developer section. 2022-01-03 10:20:54 +01:00