You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/layouts/_partials/changed-in.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 -}}