mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs: add services, utilities
This commit is contained in:
31
docs/templates/api/api.template.html
vendored
31
docs/templates/api/api.template.html
vendored
@@ -3,22 +3,23 @@
|
||||
<@ block content @>
|
||||
|
||||
<@ block header @>
|
||||
<@ if doc.docType == "directive" @>
|
||||
<h2><$ doc.name | dashCase $>
|
||||
<@ if doc.parent @>
|
||||
<small>
|
||||
(child of <$ doc.parent $>)
|
||||
</small>
|
||||
<@ endif @>
|
||||
<@ if doc.controller @>
|
||||
<small>
|
||||
(controller: <$ doc.controller $>)
|
||||
</small>
|
||||
<@ endif @>
|
||||
<h2>
|
||||
<@ if doc.docType == "directive" @>
|
||||
<$ doc.name | dashCase $>
|
||||
<@ else @>
|
||||
<$ doc.name $>
|
||||
<@ endif @>
|
||||
<@ if doc.parent @>
|
||||
<small>
|
||||
(child of <$ doc.parent $>)
|
||||
</small>
|
||||
<@ endif @>
|
||||
<@ if doc.controller @>
|
||||
<small>
|
||||
(controller: <$ doc.controller $>)
|
||||
</small>
|
||||
<@ endif @>
|
||||
</h2>
|
||||
<@ else @>
|
||||
## <$ doc.name $>
|
||||
<@ endif @>
|
||||
|
||||
<@ if doc.codepen @>
|
||||
{% include codepen.html id="<$ doc.codepen $>" %}
|
||||
|
||||
Reference in New Issue
Block a user