adding static methods to dgeni

This commit is contained in:
perry
2016-02-12 13:15:27 -06:00
parent bd6739d782
commit c8069b96e5
5 changed files with 75 additions and 5 deletions
+29 -1
View File
@@ -178,10 +178,38 @@ Improve this doc
</table>
<@ endif @>
<@- if doc.statics.length -@>
<h2>Static Methods</h2>
<@- for method in doc.statics @><@ if not method.internal @>
<div id="<$ method.name $>"></div>
<h3><$ functionSyntax(method) $></h3>
<$ method.description $>
<@ if method.params @>
<$ paramTable(method.params) $>
<@ endif @>
<@ if method.this @>
<h4> Method's `this`
<$ method.this $>
</h4>
<@ endif @>
<@ if method.returns @>
<div class="return-value">
<i class="icon ion-arrow-return-left"></i>
<b>Returns:</b> <$ typeInfo(method.returns) $>
</div>
<@ endif @>
<@ endif @>
<@ endfor -@>
<@ endif @>
<!-- methods on the class -->
<@- if doc.members and doc.members.length @>
<h2>Methods</h2>
<h2>Instance Methods</h2>
<@- for method in doc.members @>
<div id="<$ method.name $>"></div>