mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-16 20:45: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
|
||||
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||
ifeq ($(BRANCH),master-exraildocdev)
|
||||
BUILDDIR = _build/devel
|
||||
BUILDDIR = _build/html/devel
|
||||
else
|
||||
BUILDDIR = _build
|
||||
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 %}>
|
||||
Production
|
||||
</option>
|
||||
<option value="/CommandStation-EX/devel/"{% if version == "devel" %} selected{% endif %}>
|
||||
<option value="/CommandStation-EX/devel/html/"{% if version == "devel" %} selected{% endif %}>
|
||||
Development
|
||||
</option>
|
||||
</select>
|
||||
|
@ -12,7 +12,7 @@ set SOURCEDIR=.
|
||||
|
||||
for /f "tokens=*" %%g in ('git rev-parse --abbrev-ref HEAD') do (set BRANCH=%%g)
|
||||
if "%BRANCH%"=="master-exraildocdev" (
|
||||
set BUILDDIR=_build\devel
|
||||
set BUILDDIR=_build\html\devel
|
||||
) else (
|
||||
set BUILDDIR=_build
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user