Mailspring/docs/docs-templates/class.html
2015-10-01 09:58:51 -07:00

57 lines
1,000 B
HTML

{{>_header}}
<div class="page-title">
{{name}}
{{#if documentation.superClass}}
<span class="extends">extends {{documentation.superClass}}</span>
{{/if}}
</div>
<div id="sidebar">
{{>_sidebar}}
</div>
<div id="main">
<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}}
</div>
{{>_footer}}