mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
build environment: add GIT_BRANCH variable
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -6,7 +6,7 @@ from searx.version import VERSION_STRING
|
||||
from pallets_sphinx_themes import ProjectLink
|
||||
|
||||
from searx.brand import GIT_URL
|
||||
GIT_BRANCH =os.environ.get("GIT_BRANCH", "master")
|
||||
GIT_BRANCH = os.environ.get("GIT_BRANCH", "master")
|
||||
from searx.brand import SEARX_URL
|
||||
from searx.brand import DOCS_URL
|
||||
|
||||
|
||||
@@ -46,9 +46,9 @@ Makefile setup
|
||||
|
||||
The main setup is done in the :origin:`Makefile`::
|
||||
|
||||
export SEARX_URL=https://searx.me
|
||||
|
||||
export GIT_URL=https://github.com/asciimoo/searx
|
||||
export GIT_BRANCH=master
|
||||
export SEARX_URL=https://searx.me
|
||||
export DOCS_URL=https://asciimoo.github.io/searx
|
||||
|
||||
.. sidebar:: fork & upstream
|
||||
@@ -58,6 +58,8 @@ The main setup is done in the :origin:`Makefile`::
|
||||
|
||||
:GIT_URL: Changes this, to point to your searx fork.
|
||||
|
||||
:GIT_BRANCH: Changes this, to point to your searx branch.
|
||||
|
||||
:SEARX_URL: Changes this, to point to your searx instance.
|
||||
|
||||
:DOCS_URL: If you host your own (branded) documentation, change this URL.
|
||||
|
||||
Reference in New Issue
Block a user