Mailspring/docs-templates/class.html

49 lines
855 B
HTML
Raw Normal View History

<div class="page-title">
{{name}}
{{#if documentation.superClass}}
<span class="extends">extends {{documentation.superClass}}</span>
{{/if}}
</div>
<h2>Summary</h2>
<div class="markdown-from-sourecode">
<p>{{{documentation.description}}}</p>
</div>
<ul>
{{#each documentation.sections}}
<li><a href="#{{name}}">{{name}}</a></li>
{{/each}}
</ul>
{{#if documentation.classProperties.length}}
<h3>Class Properties</h3>
{{#each documentation.classProperties}}
{{>_property}}
{{/each}}
{{/if}}
{{#if documentation.classMethods.length}}
<h3>Class Methods</h3>
{{#each documentation.classMethods}}
{{>_function}}
{{/each}}
{{/if}}
{{#if documentation.instanceMethods.length}}
<h3>Instance Methods</h3>
{{#each documentation.instanceMethods}}
{{>_function}}
{{/each}}
{{/if}}