From dddf3e2be2a29a0fd2ae19e319f767ef914316da Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 4 Jun 2021 11:26:37 +0200 Subject: [PATCH] [mod] "make docs" doesn't initialize the engines avoid external HTTP requests with "make docs" --- docs/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 11e980909..83367229f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,10 +30,9 @@ numfig = True exclude_patterns = ['build-templates/*.rst'] -import searx.search import searx.engines import searx.plugins -searx.search.initialize() +searx.engines.load_engines(searx.settings['engines']) jinja_contexts = { 'searx': { 'engines': searx.engines.engines,