mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 08:38:36 +01:00
12 lines
437 B
HTML
12 lines
437 B
HTML
{{- /*
|
|
Renders the "Changed in [version]:" blocks for x-changedInMatrixVersion
|
|
annotations for openapi parameters
|
|
|
|
Takes a single 'changes_dict' parameter, which should be a map of
|
|
version -> details pairs.
|
|
*/ -}}
|
|
{{- range $ver, $details := .changes_dict -}}
|
|
{{- $details = printf "**Changed in `v%s`:** %s" $ver (default "" $details) -}}
|
|
{{- $details | page.RenderString (dict "display" "block") -}}
|
|
{{ end -}}
|