Ponysearch/docs
Markus Heiser 6e5f22e558 [mod] replace engines_languages.json by engines_traits.json
Implementations of the *traits* of the engines.

Engine's traits are fetched from the origin engine and stored in a JSON file in
the *data folder*.  Most often traits are languages and region codes and their
mapping from SearXNG's representation to the representation in the origin search
engine.

To load traits from the persistence::

    searx.enginelib.traits.EngineTraitsMap.from_data()

For new traits new properties can be added to the class::

    searx.enginelib.traits.EngineTraits

.. hint::

   Implementation is downward compatible to the deprecated *supported_languages
   method* from the vintage implementation.

   The vintage code is tagged as *deprecated* an can be removed when all engines
   has been ported to the *traits method*.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24 10:37:42 +01:00
..
_themes/searxng [fix] sphinx 5.x: add nav.contents everywhere that div.topic is used 2022-07-05 17:05:06 +02:00
admin [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
build-templates [doc] update documentation of the installation procedures 2022-07-30 13:39:35 +02:00
dev [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
src [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
user Sphinx doc: rename "User documentation" to "User Information" 2022-03-16 22:26:36 +01:00
utils [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
conf.py [mod] replace engines_languages.json by engines_traits.json 2023-03-24 10:37:42 +01:00
donate.rst Update docs/donate.rst 2022-06-29 21:02:46 +02:00
index.rst Move donation page to docs.searxng.org and link to it from instances 2022-06-29 17:26:19 +00:00
own-instance.rst [docs] move own-instance.rst out of docs/user 2022-03-07 08:29:00 +01:00