From df3c4dc6a37d2b8439bb5643c542d280b6713bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 4 Mar 2025 20:23:55 +0100 Subject: [PATCH] Add doc comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- layouts/docs/changelog.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/docs/changelog.html b/layouts/docs/changelog.html index c6bb9020..94fa55a3 100644 --- a/layouts/docs/changelog.html +++ b/layouts/docs/changelog.html @@ -33,6 +33,10 @@ {{ $rev := $version }} {{ if eq $version "unstable" -}} + {{- /* + Extract the git SHA from the frontmatter of the changelog, where + it was stashed by `generate-changelog.sh`. + */ -}} {{ $rev = .Params.commit -}} {{ end -}} {{ $commitLink := printf "https://github.com/matrix-org/matrix-spec/tree/%s" $rev -}}