From 8993451007d16edefa5979e7bfefa54242a7fc20 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 27 Oct 2017 12:25:23 -0500 Subject: [PATCH] chore(docs): adds types column and null checks for description (#7713) * chore(docs): adds types column and null checks for description * chore(nit): update per pr feedback --- tools/dgeni/templates/method.template.html | 2 ++ tools/dgeni/templates/property.template.html | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/dgeni/templates/method.template.html b/tools/dgeni/templates/method.template.html index 8a79b1e18b4..4d6ed2f81ec 100644 --- a/tools/dgeni/templates/method.template.html +++ b/tools/dgeni/templates/method.template.html @@ -9,11 +9,13 @@ + {%- if method.description -%} {$ method.description | marked | safe $} + {%- endif -%} {%- if method.params.length -%} diff --git a/tools/dgeni/templates/property.template.html b/tools/dgeni/templates/property.template.html index fd539e9ea11..9244bb30642 100644 --- a/tools/dgeni/templates/property.template.html +++ b/tools/dgeni/templates/property.template.html @@ -25,7 +25,11 @@

{$ property.name $}

- {$ property.type $} - {$ property.description | marked | safe $} + +
+ Type: {$ property.type $} +
+ {$ property.description | marked | safe $} +