forked from Ponysearch/Ponysearch
[fix] brands: add variables from build env to sphinx-doc
We have some variables in the build environment which are also needed in the sphinx-process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
04c687403e
commit
e84fc94300
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@ import sys, os
|
||||||
from searx.version import VERSION_STRING
|
from searx.version import VERSION_STRING
|
||||||
from pallets_sphinx_themes import ProjectLink
|
from pallets_sphinx_themes import ProjectLink
|
||||||
|
|
||||||
GIT_URL = os.environ.get("GIT_URL", "https://github.com/asciimoo/searx")
|
from searx.brand import GIT_URL
|
||||||
SEARX_URL = os.environ.get("SEARX_URL", "https://searx.me")
|
from searx.brand import SEARX_URL
|
||||||
DOCS_URL = os.environ.get("DOCS_URL", "https://asciimoo.github.io/searx/")
|
from searx.brand import DOCS_URL
|
||||||
|
|
||||||
# Project --------------------------------------------------------------
|
# Project --------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue