From 2b3d8830d9d80854e0a6c9b6e3b23b3f80b0dd64 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Fri, 14 Feb 2025 14:50:13 +0100 Subject: [PATCH] fix a bug that breaks the custom styles on the release urls --- Handbook/GNUmakefile | 4 ++++ Handbook/src/appendix/changelog.md | 1 + 2 files changed, 5 insertions(+) diff --git a/Handbook/GNUmakefile b/Handbook/GNUmakefile index 6d1ab2fc..10e89f9e 100644 --- a/Handbook/GNUmakefile +++ b/Handbook/GNUmakefile @@ -233,6 +233,10 @@ endif # ($(strip $(SG_HANDBOOK_REVISION)),mismatched) # mdbook-pdf Configuration ################################################################################ +ifneq ($(strip $(SG_HANDBOOK_REVISION)),mismatched) +SG_MDBOOK_HTML_SITE_URL := /$(SG_HANDBOOK_REVISION)/ +endif # ($(strip $(SG_HANDBOOK_REVISION)),mismatched) + ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX)) SG_MDBOOK_PDF_BROWSER_BINARY_PATH := $(SG_BROWSER_BINARY_PATH_LINUX) else ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_WINDOWS)) diff --git a/Handbook/src/appendix/changelog.md b/Handbook/src/appendix/changelog.md index 42c4163b..eb94913a 100644 --- a/Handbook/src/appendix/changelog.md +++ b/Handbook/src/appendix/changelog.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Documentation +- Fix a bug that breaks the custom CSS styles on the Handbook's release URLs (e.g. `https://unreal.docs.senseglove.com/2.4/`) by reverting an unintentional change from the `v2.4.0`. - Applied a minor Handbook Makefile fix. - Additional minor fixes and improvements that may not be listed here.