mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 03:18:37 +01:00
* Introduce a new "added-in" template and use it on endpoints * Use "added-in" on schema properties too * Annotate sections of the spec with their added versions * Demo of "added-in" on a room version (to be fleshed out) * Use clearer versioning semantics * Update and fix validator for Swagger custom properties * Fix docs
14 lines
290 B
HTML
14 lines
290 B
HTML
{{ $ver := .v }}
|
|
{{ $this := .this }}
|
|
|
|
{{/*
|
|
This differs from the shortcode added-in by wanting to be a block instead of inline
|
|
and by slightly altering the rendered text as a result.
|
|
*/}}
|
|
|
|
{{ if $this }}
|
|
**New in this version.**
|
|
{{ else }}
|
|
**Added in `v{{ $ver }}`**
|
|
{{ end }}
|