From eb1b5289d5da742473dd412e83abe35406da5fa5 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 21 Dec 2020 09:53:41 +0100 Subject: [mod] documentation: change the jinja context doesn't depend on searx.webapp Before this commit, in the documentation, the jinja context is 'webapp' and contains the global variable in the searx.webapp module. This commit changes this to include only the mandatory variables to build the documentation. --- docs/admin/engines.rst | 2 +- docs/admin/plugins.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/admin') diff --git a/docs/admin/engines.rst b/docs/admin/engines.rst index 0ec86a614..3ad206303 100644 --- a/docs/admin/engines.rst +++ b/docs/admin/engines.rst @@ -46,7 +46,7 @@ Show errors **DE** .. _configured engines: -.. jinja:: webapp +.. jinja:: searx .. flat-table:: Engines configured at built time (defaults) :header-rows: 1 diff --git a/docs/admin/plugins.rst b/docs/admin/plugins.rst index 4ed9066fd..d97b3dada 100644 --- a/docs/admin/plugins.rst +++ b/docs/admin/plugins.rst @@ -14,7 +14,7 @@ Configuration defaults (at built time): .. _configured plugins: -.. jinja:: webapp +.. jinja:: searx .. flat-table:: Plugins configured at built time (defaults) :header-rows: 1 -- cgit v1.2.3