mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-17 13:05:23 +02:00
Compare commits
2 Commits
a249f9b0ea
...
26d354c5bd
Author | SHA1 | Date | |
---|---|---|---|
|
26d354c5bd | ||
|
b807218ba3 |
@ -11,7 +11,7 @@ SOURCEDIR = .
|
|||||||
# Determine build directory based on git branch
|
# Determine build directory based on git branch
|
||||||
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||||
ifeq ($(BRANCH),master-exraildocdev)
|
ifeq ($(BRANCH),master-exraildocdev)
|
||||||
BUILDDIR = _build/devel
|
BUILDDIR = _build/html/devel
|
||||||
else
|
else
|
||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
endif
|
endif
|
||||||
|
2
docs/_templates/layout.html
vendored
2
docs/_templates/layout.html
vendored
@ -10,7 +10,7 @@
|
|||||||
<option value="/CommandStation-EX/"{% if version == "main" %} selected{% endif %}>
|
<option value="/CommandStation-EX/"{% if version == "main" %} selected{% endif %}>
|
||||||
Production
|
Production
|
||||||
</option>
|
</option>
|
||||||
<option value="/CommandStation-EX/devel/"{% if version == "devel" %} selected{% endif %}>
|
<option value="/CommandStation-EX/devel/html/"{% if version == "devel" %} selected{% endif %}>
|
||||||
Development
|
Development
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
@ -12,7 +12,7 @@ set SOURCEDIR=.
|
|||||||
|
|
||||||
for /f "tokens=*" %%g in ('git rev-parse --abbrev-ref HEAD') do (set BRANCH=%%g)
|
for /f "tokens=*" %%g in ('git rev-parse --abbrev-ref HEAD') do (set BRANCH=%%g)
|
||||||
if "%BRANCH%"=="master-exraildocdev" (
|
if "%BRANCH%"=="master-exraildocdev" (
|
||||||
set BUILDDIR=_build\devel
|
set BUILDDIR=_build\html\devel
|
||||||
) else (
|
) else (
|
||||||
set BUILDDIR=_build
|
set BUILDDIR=_build
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user