Skip to content

Commit 44dbffc

Browse files
committed
Updated template.
1 parent f8c0521 commit 44dbffc

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

templates/markdown.hbs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@
55
{{/if}}
66

77
{{#if description}}
8-
>{{description}}
8+
> {{description}}
99
{{/if}}
1010

11-
{{#each files}}{{#each methods}}
11+
{{#each files}}
1212

13-
## {{name}}({{params}}) {{#if isPrivate}} *private method*{{/if}}
13+
### {{name}}
14+
15+
{{#each methods}}
16+
17+
#### {{name}}({{params}}) {{#if isPrivate}} *private method*{{/if}}
1418

1519
{{{description}}}
1620

1721
{{{body}}}
1822

1923
{{#if tags.param}}
2024

21-
### Parameters
25+
##### Parameters
2226

2327
{{#each tags.param}}
2428
- **{{name}}** {{#each types}}`{{.}}` {{/each}} {{#if isOptional}}*Optional*{{/if}} {{{description}}}
@@ -28,7 +32,7 @@
2832

2933
{{#if tags.property}}
3034

31-
### Properties
35+
##### Properties
3236

3337
{{#each tags.property}}
3438
- **{{name}}** {{#each types}}`{{.}}` {{/each}} {{#if isOptional}}*Optional*{{/if}} {{{description}}}
@@ -38,7 +42,7 @@
3842

3943
{{#if tags.example}}
4044

41-
### Examples
45+
##### Examples
4246

4347
{{#each tags.example}}
4448
```javascript
@@ -48,7 +52,7 @@
4852

4953
{{/if}}
5054

51-
### Returns
55+
##### Returns
5256

5357
{{#if tags.return}}
5458

@@ -62,6 +66,8 @@
6266

6367
{{/if}}
6468

65-
{{/each}}{{/each}}
69+
{{/each}}
70+
71+
{{/each}}
6672

6773
*Documentation generated with [doxdox](https://github.com/neogeek/doxdox).*

0 commit comments

Comments
 (0)