docs(): update API template

Ref https://github.com/driftyco/ionic-site/issues/607
This commit is contained in:
mhartington
2016-06-13 17:08:29 -04:00
parent b20647c16e
commit efa0c7b8f7

View File

@ -158,6 +158,9 @@ angular_controller: APIDemoCtrl <@ endif @>
<$ doc.name | dashCase $>
<@ else @>
<$ doc.name $>
<@- if doc.directiveInfo @>
<h3><code><$ doc.directiveInfo.properties[0].values $></code></h3>
<@ endif -@>
<@ endif @>
<@ if doc.parent @>
@ -191,10 +194,6 @@ Improve this doc
<@ endblock @>
<@- if doc.directiveInfo @>
<h2><a class="anchor" name="<$ doc.directiveInfo.type $>" href="#<$ doc.directiveInfo.type $>"></a><$ doc.directiveInfo.type $></h2>
<h3><$ doc.directiveInfo.properties[0].name $>: <code><$ doc.directiveInfo.properties[0].values $></code></h3>
<@ endif -@>
<!-- @usage tag -->
<@ if doc.usage @>