Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 6c6985aa authored by Alexandre Flament's avatar Alexandre Flament Committed by GitHub
Browse files

Merge pull request #2230 from dalf/fix-sphinx-build

[fix] Sphinx 3.2.1 build: add missing "engines" variable in the jinja context
parents 97406182 6d56c754
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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