* 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
13 lines
290 B
HTML
13 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 }}
|