build(docs-infra): render short description of parameters in API docs (#24537)
PR Close #24537
This commit is contained in:
parent
99bdd257a6
commit
d876700c26
|
@ -21,8 +21,7 @@
|
|||
{% if showType %}<td class="param-type"><code>{$ parameter.type $}</code></td>{% endif %}
|
||||
<td class="param-description">
|
||||
{% marked %}
|
||||
{% if parameter.description | trim %}{$ parameter.description $}
|
||||
|
||||
{% if (parameter.shortDescription | trim) or (parameter.description | trim) %}{$ parameter.shortDescription + '\n\n' + parameter.description $}
|
||||
{% elseif not showType and parameter.type %}<p>Type: <code>{$ parameter.type $}</code>.</p>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue