summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 11:51:03 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 11:51:03 +0100
commite84fc94300750c41642bea97d2d9cc020f746c66 (patch)
tree71fd61dd50c7a1c9dde6ec824041dceed471d0f4 /docs
parent04c687403e21f883f9614e6a24df9ec450cfc111 (diff)
downloadsearxng-e84fc94300750c41642bea97d2d9cc020f746c66.tar.gz
searxng-e84fc94300750c41642bea97d2d9cc020f746c66.zip
[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>
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index ebcd102b2..03e977aba 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -4,9 +4,9 @@ import sys, os
from searx.version import VERSION_STRING
from pallets_sphinx_themes import ProjectLink
-GIT_URL = os.environ.get("GIT_URL", "https://github.com/asciimoo/searx")
-SEARX_URL = os.environ.get("SEARX_URL", "https://searx.me")
-DOCS_URL = os.environ.get("DOCS_URL", "https://asciimoo.github.io/searx/")
+from searx.brand import GIT_URL
+from searx.brand import SEARX_URL
+from searx.brand import DOCS_URL
# Project --------------------------------------------------------------