summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-30 10:20:12 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-30 10:20:12 +0200
commit9a856083df800c1c540e3b643c223116062a1571 (patch)
tree7f86c8bbee23dc76cc447e2eaeb3aca635332707 /docs
parent6c6985aaf8449d28db6880fb0f1aad5a8c08dee1 (diff)
downloadsearxng-9a856083df800c1c540e3b643c223116062a1571.tar.gz
searxng-9a856083df800c1c540e3b643c223116062a1571.zip
[fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines
Fix admin/engines.html Fix #2230
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py5
1 files 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