Add doc comment

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-03-04 20:23:55 +01:00
parent 149a0e984f
commit df3c4dc6a3
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -33,6 +33,10 @@
<table class="release-info">
{{ $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 -}}