on master help sign in
[fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context

Fix the admin/engines.html page

commit6d56c754a74b8cf28f839573828c923e9bcfdef0 authorAlexandre Flament <alex@al-f.net> dateTue 29 Sep 2020, 12:30 (6 years ago) parent8d47142
1 file changed+4−1
docs/conf.py+4−1
docs/conf.py+4−1
@@ -10,6 +10,7 @@ GIT_BRANCH = os.environ.get("GIT_BRANCH", "master")
1010from searx.brand import SEARX_URL
1111from searx.brand import DOCS_URL
1212
13+
1314# Project --------------------------------------------------------------
1415
1516project = u'searx'
@@ -27,8 +28,10 @@ numfig = True
2728exclude_patterns = ['build-templates/*.rst']
2829
2930from searx import webapp
31+from searx.engines import engines
3032jinja_contexts = {
31− 'webapp': dict(**webapp.__dict__)
33+ 'webapp': dict(**webapp.__dict__),
34+ 'engines': engines
3235}
3336
3437# usage:: lorem :patch:`f373169` ipsum