mirror of
https://github.com/searxng/searxng.git
synced 2024-12-21 08:46:28 +00:00
Merge pull request #2232 from dalf/fix-sphinx-build2
[fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines
This commit is contained in:
commit
fd5fe36984
1 changed files with 3 additions and 2 deletions
|
@ -28,10 +28,11 @@ numfig = True
|
|||
exclude_patterns = ['build-templates/*.rst']
|
||||
|
||||
from searx import webapp
|
||||
from searx.engines import engines
|
||||
import searx.engines
|
||||
searx.engines.initialize_engines(searx.settings['engines'])
|
||||
jinja_contexts = {
|
||||
'webapp': dict(**webapp.__dict__),
|
||||
'engines': engines
|
||||
'engines': searx.engines.engines
|
||||
}
|
||||
|
||||
# usage:: lorem :patch:`f373169` ipsum
|
||||
|
|
Loading…
Reference in a new issue