From a074dae4e62d7a43a3b92e7a45c6e788ecde03fe Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Thu, 3 Dec 2015 15:59:18 -0600 Subject: [PATCH] docs(api): add option to add types to @property --- scripts/docs/templates/common.template.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index a26b232841..514806a5f6 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -187,6 +187,17 @@ defined in <$ githubViewLink(doc) $> Attribute + + <@ set hasTypes = false @> + <@ for prop in doc.properties @> + <@ if prop.type @> + <@ set hasTypes = true @> + <@ endif @> + <@ endfor @> + <@ if hasTypes @> + Type + <@ endif @> + Description @@ -194,8 +205,17 @@ defined in <$ githubViewLink(doc) $> <@ for prop in doc.properties @> + <@ if doc.name != 'Icon' @> + <@ endif @> <$ prop.name $> + + <@ if hasTypes @> + + <$ prop.type.name $> + + <@ endif @> + <$ prop.description $>