Merge pull request #132 from searxng/docs-load-engines

[mod] "make docs" doesn't initialize the engines
This commit is contained in:
Markus Heiser 2021-06-04 09:53:31 +00:00 committed by GitHub
commit d69c731403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,