on master help sign in
Merge pull request #2230 from dalf/fix-sphinx-build

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

commit6c6985aaf8449d28db6880fb0f1aad5a8c08dee1 authorAlexandre Flament <alex@al-f.net> dateWed 30 Sep 2020, 09:29 (6 years ago) parent97406186d56c75
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