Add missing Leafdoc template files (#4558)
This commit is contained in:
parent
03dc9697b6
commit
5aca1896b4
17
build/leafdoc-templates/constructor.hbs
Normal file
17
build/leafdoc-templates/constructor.hbs
Normal file
@ -0,0 +1,17 @@
|
||||
<table><thead>
|
||||
<tr>
|
||||
<th>Constructor</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead><tbody>
|
||||
{{#each documentables}}
|
||||
<tr id='{{id}}'>
|
||||
<td><code><b>{{name}}</b>(
|
||||
{{~#each params~}}
|
||||
{{#if type}}<nobr><{{{type type}}}></nobr> {{/if}}<i>{{name}}</i>
|
||||
{{~#unless @last}}, {{/unless}}{{/each~}}
|
||||
)</nobr></code></td>
|
||||
<td>{{{markdown comments}}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody></table>
|
17
build/leafdoc-templates/destructor.hbs
Normal file
17
build/leafdoc-templates/destructor.hbs
Normal file
@ -0,0 +1,17 @@
|
||||
<table><thead>
|
||||
<tr>
|
||||
<th>Destructor</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead><tbody>
|
||||
{{#each documentables}}
|
||||
<tr id='{{id}}'>
|
||||
<td><code><b>{{name}}</b>(
|
||||
{{~#each params~}}
|
||||
{{#if type}}<nobr><{{{type type}}}></nobr> {{/if}}<i>{{name}}</i>
|
||||
{{~#unless @last}}, {{/unless}}{{/each~}}
|
||||
)</nobr></code></td>
|
||||
<td>{{{markdown comments}}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody></table>
|
Loading…
Reference in New Issue
Block a user