From efa0c7b8f7811d8c93b642a8f9c4b3c4848df9c1 Mon Sep 17 00:00:00 2001 From: mhartington Date: Mon, 13 Jun 2016 17:08:29 -0400 Subject: [PATCH] docs(): update API template Ref https://github.com/driftyco/ionic-site/issues/607 --- scripts/docs/templates/common.template.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 2de20a476e..d986312b9c 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -158,6 +158,9 @@ angular_controller: APIDemoCtrl <@ endif @> <$ doc.name | dashCase $> <@ else @> <$ doc.name $> +<@- if doc.directiveInfo @> +

<$ doc.directiveInfo.properties[0].values $>

+<@ endif -@> <@ endif @> <@ if doc.parent @> @@ -191,10 +194,6 @@ Improve this doc <@ endblock @> -<@- if doc.directiveInfo @> -

<$ doc.directiveInfo.type $>

-

<$ doc.directiveInfo.properties[0].name $>: <$ doc.directiveInfo.properties[0].values $>

-<@ endif -@> <@ if doc.usage @>