mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
Merge pull request #138 from return42/fix-doc
[fix] section "Overrides" in engine's documentation
This commit is contained in:
commit
314e09091b
@ -85,15 +85,11 @@ For a more detailed description, see :ref:`settings engine` in the :ref:`settin
|
|||||||
Overrides
|
Overrides
|
||||||
---------
|
---------
|
||||||
|
|
||||||
.. sidebar:: engine's global names
|
|
||||||
|
|
||||||
Global names with a leading underline are *private to the engine* and will
|
|
||||||
not be overwritten.
|
|
||||||
|
|
||||||
A few of the options have default values in the namespace of engine's python
|
A few of the options have default values in the namespace of engine's python
|
||||||
modul, but are often overwritten by the settings. If ``None`` is assigned to an
|
modul, but are often overwritten by the settings. If ``None`` is assigned to an
|
||||||
option in the engine file, it has to be redefined in the settings, otherwise
|
option in the engine file, it has to be redefined in the settings, otherwise
|
||||||
searx will not start with that engine.
|
searx will not start with that engine (global names with a leading underline can
|
||||||
|
be ``None``).
|
||||||
|
|
||||||
Here is an very simple example of the global names in the namespace of engine's
|
Here is an very simple example of the global names in the namespace of engine's
|
||||||
module:
|
module:
|
||||||
|
Loading…
Reference in New Issue
Block a user