summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-30 09:29:09 +0200
committerGitHub <noreply@github.com>2020-09-30 09:29:09 +0200
commit6c6985aaf8449d28db6880fb0f1aad5a8c08dee1 (patch)
tree0faa610b6557a593ff7e7f3f4637ffef50a30020 /docs/conf.py
parent9740618227bbd9abe67ceb45c7491d4b444f347d (diff)
parent6d56c754a74b8cf28f839573828c923e9bcfdef0 (diff)
downloadsearxng-6c6985aaf8449d28db6880fb0f1aad5a8c08dee1.tar.gz
searxng-6c6985aaf8449d28db6880fb0f1aad5a8c08dee1.zip
Merge pull request #2230 from dalf/fix-sphinx-build
[fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context
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 6cbcdfa6c..aa0865447 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