4 Commits

Author SHA1 Message Date
  Alexandre Flament fd5fe36984
Merge pull request #2232 from dalf/fix-sphinx-build2 3 weeks ago
  Alexandre Flament 9a856083df [fix] Sphinx 3.2.1 build: call searx.engines.initialize_engines 3 weeks ago
  Alexandre Flament 6c6985aaf8
Merge pull request #2230 from dalf/fix-sphinx-build 3 weeks ago
  Alexandre Flament 6d56c754a7 [fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context 3 weeks ago
1 changed files with 5 additions and 1 deletions
Split View
  1. +5
    -1
      docs/conf.py

+ 5
- 1
docs/conf.py View File

@@ -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,11 @@ numfig = True
exclude_patterns = ['build-templates/*.rst']

from searx import webapp
import searx.engines
searx.engines.initialize_engines(searx.settings['engines'])
jinja_contexts = {
'webapp': dict(**webapp.__dict__)
'webapp': dict(**webapp.__dict__),
'engines': searx.engines.engines
}

# usage:: lorem :patch:`f373169` ipsum


Loading…
Cancel
Save