summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-04 11:26:37 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-04 11:26:37 +0200
commitdddf3e2be2a29a0fd2ae19e319f767ef914316da (patch)
tree32cb6302636bca67ffaa2736fbb6a255c3f3b1cf /docs
parentcac6562a9e3edf8f5e9dffc7b49a730b4eadc634 (diff)
downloadsearxng-dddf3e2be2a29a0fd2ae19e319f767ef914316da.tar.gz
searxng-dddf3e2be2a29a0fd2ae19e319f767ef914316da.zip
[mod] "make docs" doesn't initialize the engines
avoid external HTTP requests with "make docs"
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py3
1 files changed, 1 insertions, 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,