summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-07-30 18:57:00 +0200
committerGitHub <noreply@github.com>2021-07-30 18:57:00 +0200
commit38ee88b3905148460e30982715277e7b30857629 (patch)
tree61cf8004cc09fefeffaafb082b8ce86a1c959da4 /docs/conf.py
parent3b97657f3bbe9bd84a99d46ad1e26391d62ba496 (diff)
parent5b3eeb6e54d4b88adccdf847c32d8102ff6202a5 (diff)
Merge pull request #229 from dalf/version-from-git
version based on git
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 04c8aa205..978d6a660 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -5,7 +5,7 @@ import sys, os
from pallets_sphinx_themes import ProjectLink
from searx import get_setting
-from searx.version import VERSION_STRING
+from searx.version import VERSION_STRING, GIT_URL, GIT_BRANCH
# Project --------------------------------------------------------------
@@ -15,8 +15,6 @@ author = u'Adam Tauber'
release, version = VERSION_STRING, VERSION_STRING
SEARX_URL = get_setting('server.base_url') or 'https://example.org/searx'
-GIT_URL = get_setting('brand.git_url')
-GIT_BRANCH = get_setting('brand.git_branch')
ISSUE_URL = get_setting('brand.issue_url')
DOCS_URL = get_setting('brand.docs_url')
PUBLIC_INSTANCES = get_setting('brand.public_instances')