Remove themes: update documentation

This commit is contained in:
Alexandre Flament 2022-05-13 17:31:06 +02:00
parent 31bb938126
commit 603e131147
6 changed files with 9 additions and 23 deletions

View file

@ -24,7 +24,6 @@ Sample response
"images",
],
"default_locale": "",
"default_theme": "simple",
"engines": [
{
"categories": [

View file

@ -18,12 +18,12 @@ All of the engines above are just commented out in the :origin:`settings.yml
dependencies before using them.
By default, the engines use the ``key-value`` template for displaying results /
see :origin:`simple <searx/templates/simple/result_templates/key-value.html>`
theme. If you are not satisfied with the original result layout, you can use
your own template, set ``result_template`` attribute to ``{template_name}`` and
place the templates at::
see :origin:`simple <searx/templates/result_templates/key-value.html>`.
If you are not satisfied with the original result layout, you can use your own
template, set ``result_template`` attribute to ``{template_name}`` and place
the templates at::
searx/templates/{theme_name}/result_templates/{template_name}
searx/templates/result_templates/{template_name}
Futhermore, if you do not wish to expose these engines on a public instance, you
can still add them and limit the access by setting ``tokens`` as described in

View file

@ -232,7 +232,6 @@ Global Settings
query_in_title: false
infinite_scroll: false
center_alignment: false
default_theme: simple
theme_args:
simple_style: auto
@ -254,9 +253,6 @@ Global Settings
side of the screen. This setting only affects the *desktop layout*
(:origin:`min-width: @tablet <searx/static/themes/simple/src/less/definitions.less>`)
``default_theme`` :
Name of the theme you want to use by default on your SearXNG instance.
``theme_args.simple_style``:
Style of simple theme: ``auto``, ``light``, ``dark``

View file

@ -30,12 +30,12 @@ engines, e.g. ``database:`` ...
query_str: ...
By default, the engines use the ``key-value`` template for displaying results /
see :origin:`simple <searx/templates/simple/result_templates/key-value.html>`
theme. If you are not satisfied with the original result layout, you can use
see :origin:`simple <searx/templates/result_templates/key-value.html>`.
If you are not satisfied with the original result layout, you can use
your own template, set ``result_template`` attribute to ``{template_name}`` and
place the templates at::
searx/templates/{theme_name}/result_templates/{template_name}
searx/templates/result_templates/{template_name}
If you do not wish to expose these engines on a public instance, you can still
add them and limit the access by setting ``tokens`` as described in section