From 9a856083df800c1c540e3b643c223116062a1571 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 30 Sep 2020 10:20:12 +0200 Subject: [PATCH] [fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines Fix admin/engines.html Fix #2230 --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index aa0865447..ad884fd03 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,10 +28,11 @@ numfig = True exclude_patterns = ['build-templates/*.rst'] from searx import webapp -from searx.engines import engines +import searx.engines +searx.engines.initialize_engines(searx.settings['engines']) jinja_contexts = { 'webapp': dict(**webapp.__dict__), - 'engines': engines + 'engines': searx.engines.engines } # usage:: lorem :patch:`f373169` ipsum