Put commas between enum values.
This commit is contained in:
parent
e406bd94f6
commit
1c0101ce4c
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify enum values by separating possible values with commas.
|
|
@ -89,7 +89,7 @@
|
||||||
<td>
|
<td>
|
||||||
{{ if $required }}<strong>Required: </strong>{{end -}}
|
{{ if $required }}<strong>Required: </strong>{{end -}}
|
||||||
{{ $property.description | markdownify -}}
|
{{ $property.description | markdownify -}}
|
||||||
{{ if eq $type "enum"}}<p>One of: <code>{{ $property.enum }}</code>.</p>{{ end -}}
|
{{ if eq $type "enum"}}<p>One of: <code>[{{ delimit $property.enum ", " }}]</code>.</p>{{ end -}}
|
||||||
{{ if (index $property "x-addedInMatrixVersion") }}{{ partial "added-in" (dict "v" (index $property "x-addedInMatrixVersion")) }}{{ end -}}
|
{{ if (index $property "x-addedInMatrixVersion") }}{{ partial "added-in" (dict "v" (index $property "x-addedInMatrixVersion")) }}{{ end -}}
|
||||||
{{ if (index $property "x-changedInMatrixVersion") }}{{ partial "changed-in" (dict "changes_dict" (index $property "x-changedInMatrixVersion")) }}{{ end -}}
|
{{ if (index $property "x-changedInMatrixVersion") }}{{ partial "changed-in" (dict "changes_dict" (index $property "x-changedInMatrixVersion")) }}{{ end -}}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue