mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(): update API template
Ref https://github.com/driftyco/ionic-site/issues/607
This commit is contained in:
7
scripts/docs/templates/common.template.html
vendored
7
scripts/docs/templates/common.template.html
vendored
@ -158,6 +158,9 @@ angular_controller: APIDemoCtrl <@ endif @>
|
|||||||
<$ doc.name | dashCase $>
|
<$ doc.name | dashCase $>
|
||||||
<@ else @>
|
<@ else @>
|
||||||
<$ doc.name $>
|
<$ doc.name $>
|
||||||
|
<@- if doc.directiveInfo @>
|
||||||
|
<h3><code><$ doc.directiveInfo.properties[0].values $></code></h3>
|
||||||
|
<@ endif -@>
|
||||||
<@ endif @>
|
<@ endif @>
|
||||||
|
|
||||||
<@ if doc.parent @>
|
<@ if doc.parent @>
|
||||||
@ -191,10 +194,6 @@ Improve this doc
|
|||||||
<@ endblock @>
|
<@ 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 -->
|
<!-- @usage tag -->
|
||||||
<@ if doc.usage @>
|
<@ if doc.usage @>
|
||||||
|
Reference in New Issue
Block a user