summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-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