summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-27 18:04:53 +0100
committerGitHub <noreply@github.com>2020-12-27 18:04:53 +0100
commit5fb9a5c7c10252b21a23fe66e1625ed9f8691b4a (patch)
treea878155a22025da3c7540ed19563ea70a17eb316 /docs/conf.py
parent5840499bfb2a641361e35570e08b3d21abcb73f0 (diff)
parent568b9465e9480bf408a00982ce0b8ec7462f830c (diff)
Merge pull request #2411 from dalf/update-secret-key-check
Update secret key check
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index d6fde9bec..0c07761a8 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,9 +27,15 @@ numfig = True
exclude_patterns = ['build-templates/*.rst']
-from searx import webapp
+import searx.search
+import searx.engines
+import searx.plugins
+searx.search.initialize()
jinja_contexts = {
- 'webapp': dict(**webapp.__dict__),
+ 'searx': {
+ 'engines': searx.engines.engines,
+ 'plugins': searx.plugins.plugins
+ },
}
# usage:: lorem :patch:`f373169` ipsum