From d89f57f9d51c6b1f41c99478833d8f9f84ebd3f6 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 15 Jun 2018 13:36:30 +0100 Subject: [PATCH] build(docs-infra): render short description of parameters in API docs (#24537) PR Close #24537 --- aio/tools/transforms/templates/api/lib/paramList.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/tools/transforms/templates/api/lib/paramList.html b/aio/tools/transforms/templates/api/lib/paramList.html index 0f63ad32d9..8c8e3c9849 100644 --- a/aio/tools/transforms/templates/api/lib/paramList.html +++ b/aio/tools/transforms/templates/api/lib/paramList.html @@ -21,8 +21,7 @@ {% if showType %}{$ parameter.type $}{% endif %} {% 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 %}

Type: {$ parameter.type $}.

{% endif %}