Skip to content

Commit

Permalink
build(docs-infra): render short description of parameters in API docs (
Browse files Browse the repository at this point in the history
…#24537)

PR Close #24537
  • Loading branch information
petebacondarwin authored and mhevery committed Jun 28, 2018
1 parent 99bdd25 commit d876700
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aio/tools/transforms/templates/api/lib/paramList.html
Expand Up @@ -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 %}

Expand Down

0 comments on commit d876700

Please sign in to comment.