mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-13 23:14:10 +01:00
Add doc comment
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
149a0e984f
commit
df3c4dc6a3
|
|
@ -33,6 +33,10 @@
|
||||||
<table class="release-info">
|
<table class="release-info">
|
||||||
{{ $rev := $version }}
|
{{ $rev := $version }}
|
||||||
{{ if eq $version "unstable" -}}
|
{{ 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 -}}
|
{{ $rev = .Params.commit -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ $commitLink := printf "https://github.com/matrix-org/matrix-spec/tree/%s" $rev -}}
|
{{ $commitLink := printf "https://github.com/matrix-org/matrix-spec/tree/%s" $rev -}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue