diff options
author | Alexandre Flament <alex@al-f.net> | 2020-09-30 10:20:12 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-09-30 10:20:12 +0200 |
commit | 9a856083df800c1c540e3b643c223116062a1571 (patch) | |
tree | 7f86c8bbee23dc76cc447e2eaeb3aca635332707 /docs | |
parent | 6c6985aaf8449d28db6880fb0f1aad5a8c08dee1 (diff) | |
download | searxng-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.py | 5 |
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 |