diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 23:26:06 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 23:26:06 +0100 |
commit | 90174e215c2eeb44ad8d76d7389ec5f661e63b82 (patch) | |
tree | d287dfbfda31c527dc9e8192eb1510bdfbc609ba /docs | |
parent | 31db843c9c1f66da4ab2f8f23f969a0671ae6e65 (diff) | |
download | searxng-90174e215c2eeb44ad8d76d7389ec5f661e63b82.tar.gz searxng-90174e215c2eeb44ad8d76d7389ec5f661e63b82.zip |
doc: add plugin section to admin section (template)
- Plugins configured at built time (defaults)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/index.rst | 1 | ||||
-rw-r--r-- | docs/admin/plugins.rst | 39 | ||||
-rw-r--r-- | docs/dev/plugins.rst | 6 |
3 files changed, 46 insertions, 0 deletions
diff --git a/docs/admin/index.rst b/docs/admin/index.rst index 1b05db42d..c08cadb67 100644 --- a/docs/admin/index.rst +++ b/docs/admin/index.rst @@ -11,3 +11,4 @@ Administrator documentation filtron morty engines + plugins diff --git a/docs/admin/plugins.rst b/docs/admin/plugins.rst new file mode 100644 index 000000000..4ed9066fd --- /dev/null +++ b/docs/admin/plugins.rst @@ -0,0 +1,39 @@ +.. _plugins generic: + +=============== +Plugins builtin +=============== + +.. sidebar:: Further reading .. + + - :ref:`dev plugin` + +Configuration defaults (at built time): + +:DO: Default on + +.. _configured plugins: + +.. jinja:: webapp + + .. flat-table:: Plugins configured at built time (defaults) + :header-rows: 1 + :stub-columns: 1 + :widths: 3 1 9 + + * - Name + - DO + - Description + + JS & CSS dependencies + + {% for plgin in plugins %} + + * - {{plgin.name}} + - {{(plgin.default_on and "y") or ""}} + - {{plgin.description}} + + {% for dep in (plgin.js_dependencies + plgin.css_dependencies) %} + | ``{{dep}}`` {% endfor %} + + {% endfor %} diff --git a/docs/dev/plugins.rst b/docs/dev/plugins.rst index e97bbeb4a..2bf44f181 100644 --- a/docs/dev/plugins.rst +++ b/docs/dev/plugins.rst @@ -1,7 +1,13 @@ +.. _dev plugin: + ======= Plugins ======= +.. sidebar:: Further reading .. + + - :ref:`plugins generic` + Plugins can extend or replace functionality of various components of searx. Example plugin |