1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[mod] "make docs" doesn't initialize the engines

avoid external HTTP requests with "make docs"
This commit is contained in:
Alexandre Flament 2021-06-04 11:26:37 +02:00
parent cac6562a9e
commit dddf3e2be2

View File

@ -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,