mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-17 13:05:23 +02:00
Compare commits
No commits in common. "26d354c5bdf4a47879758227302694f90100f43f" and "a249f9b0eae3dccbe378a36e567503cadd197bab" have entirely different histories.
26d354c5bd
...
a249f9b0ea
@ -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/html/devel
|
BUILDDIR = _build/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/html/"{% if version == "devel" %} selected{% endif %}>
|
<option value="/CommandStation-EX/devel/"{% 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\html\devel
|
set BUILDDIR=_build\devel
|
||||||
) else (
|
) else (
|
||||||
set BUILDDIR=_build
|
set BUILDDIR=_build
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user