summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-29 12:30:10 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-29 12:30:10 +0200
commit6d56c754a74b8cf28f839573828c923e9bcfdef0 (patch)
treed5279c3c381f5a12935df34fcfa8e2b61bcc193a /docs/conf.py
parent8d47142f35199866b26ee4e9149bbb8b058a6873 (diff)
downloadsearxng-6d56c754a74b8cf28f839573828c923e9bcfdef0.tar.gz
searxng-6d56c754a74b8cf28f839573828c923e9bcfdef0.zip
[fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context
Fix the admin/engines.html page
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 1f79e4c14..0f3cb7d95 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,6 +10,7 @@ GIT_BRANCH = os.environ.get("GIT_BRANCH", "master")
from searx.brand import SEARX_URL
from searx.brand import DOCS_URL
+
# Project --------------------------------------------------------------
project = u'searx'
@@ -27,8 +28,10 @@ numfig = True
exclude_patterns = ['build-templates/*.rst']
from searx import webapp
+from searx.engines import engines
jinja_contexts = {
- 'webapp': dict(**webapp.__dict__)
+ 'webapp': dict(**webapp.__dict__),
+ 'engines': engines
}
# usage:: lorem :patch:`f373169` ipsum