parse plugin meta
This commit is contained in:
parent
2d43736330
commit
bd1ba565f4
15
scripts/docs/templates/common.template.html
vendored
15
scripts/docs/templates/common.template.html
vendored
@ -116,11 +116,24 @@ Improve this doc
|
|||||||
|
|
||||||
|
|
||||||
<!-- description -->
|
<!-- description -->
|
||||||
<h2>Description</h2>
|
|
||||||
<@ block description @>
|
<@ block description @>
|
||||||
<$ doc.description | marked $>
|
<$ doc.description | marked $>
|
||||||
<@ endblock @>
|
<@ endblock @>
|
||||||
|
|
||||||
|
<@- if doc.decorators @>
|
||||||
|
<@ for prop in doc.decorators[0].argumentInfo @>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
$ ionic plugin add <$ prop.plugin $>
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
<a href="<$ prop.repo $>">
|
||||||
|
Repo: <$ prop.repo $>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<@ endfor @>
|
||||||
|
<@ endif -@>
|
||||||
|
|
||||||
<@- if doc.directiveInfo @>
|
<@- if doc.directiveInfo @>
|
||||||
<h2><$ doc.directiveInfo.type $></h2>
|
<h2><$ doc.directiveInfo.type $></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user