From c4eed03630dea8bc449cc2844e199a2a4c81c545 Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 13 Apr 2016 13:19:51 -0500 Subject: [PATCH] chore(dgeni): make returns object macro a table instead of a list --- scripts/docs/templates/common.template.html | 29 ++++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 5a6675653f..15ca4cba13 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -24,10 +24,31 @@ angular_controller: APIDemoCtrl <@ endif @> <@- endmacro -@> <@ macro returnObject(params) -@> - <@- if params -@>
- <@- for param in params -@> - <$ param.type $> <$ param.key $> <$ param.description $>
- <@- endfor @> + <@- if params -@> + + + + + + + + + + <@ for param in params @> + + + + + + <@ endfor @> + +
PropertyTypeDetails
+ <$ param.key $> + + <$ param.type | code $> + + <$ param.description | marked $> +
<@- endif @> <@- endmacro -@>