[fix] Documentation of the builtin plugins

Closes: https://github.com/searxng/searxng/issues/637
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-01-07 17:03:49 +01:00
parent 836aa437a5
commit 613fb15599

View File

@ -3,6 +3,7 @@
import sys, os
from pallets_sphinx_themes import ProjectLink
from flask import Flask
from searx import get_setting
from searx.version import VERSION_STRING, GIT_URL, GIT_BRANCH
@ -40,7 +41,13 @@ exclude_patterns = ['build-templates/*.rst']
import searx.engines
import searx.plugins
import searx.webutils
# bypass a creepy check of the secret_key in searx.webapp
searx.settings['server']['secret_key'] = ''
from searx.webapp import application
searx.engines.load_engines(searx.settings['engines'])
searx.plugins.initialize(application)
jinja_contexts = {
'searx': {