forked from Ponysearch/Ponysearch
[fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines
Fix admin/engines.html Fix #2230
This commit is contained in:
parent
6c6985aaf8
commit
9a856083df
1 changed files with 3 additions and 2 deletions
|
@ -28,10 +28,11 @@ numfig = True
|
||||||
exclude_patterns = ['build-templates/*.rst']
|
exclude_patterns = ['build-templates/*.rst']
|
||||||
|
|
||||||
from searx import webapp
|
from searx import webapp
|
||||||
from searx.engines import engines
|
import searx.engines
|
||||||
|
searx.engines.initialize_engines(searx.settings['engines'])
|
||||||
jinja_contexts = {
|
jinja_contexts = {
|
||||||
'webapp': dict(**webapp.__dict__),
|
'webapp': dict(**webapp.__dict__),
|
||||||
'engines': engines
|
'engines': searx.engines.engines
|
||||||
}
|
}
|
||||||
|
|
||||||
# usage:: lorem :patch:`f373169` ipsum
|
# usage:: lorem :patch:`f373169` ipsum
|
||||||
|
|
Loading…
Reference in a new issue