mirror of
https://github.com/searxng/searxng
synced 2024-11-09 01:10:26 +00:00
Merge pull request #132 from searxng/docs-load-engines
[mod] "make docs" doesn't initialize the engines
This commit is contained in:
commit
d69c731403
@ -30,10 +30,9 @@ numfig = True
|
|||||||
|
|
||||||
exclude_patterns = ['build-templates/*.rst']
|
exclude_patterns = ['build-templates/*.rst']
|
||||||
|
|
||||||
import searx.search
|
|
||||||
import searx.engines
|
import searx.engines
|
||||||
import searx.plugins
|
import searx.plugins
|
||||||
searx.search.initialize()
|
searx.engines.load_engines(searx.settings['engines'])
|
||||||
jinja_contexts = {
|
jinja_contexts = {
|
||||||
'searx': {
|
'searx': {
|
||||||
'engines': searx.engines.engines,
|
'engines': searx.engines.engines,
|
||||||
|
Loading…
Reference in New Issue
Block a user