Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit c9d0d10

Browse files
committed
Updated layout.
1 parent 504eadd commit c9d0d10

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

DOCUMENTATION.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Markdown template plugin for doxdox.
1515

1616
##### Parameters
1717

18-
- **data** `Array` Methods parsed using a doxdox parser.
18+
| Name | Type | Description | |
19+
| ---- | ---- | ----------- | - |
20+
| data | `Array` | Methods parsed using a doxdox parser. |   |
1921

2022

2123

@@ -30,7 +32,7 @@ parseInputs(inputs, {'parser': 'dox', 'layout': 'markdown'}).then(content => con
3032
##### Returns
3133

3234

33-
- `Promise` Promise with generated content.
35+
- `Promise` Promise with generated content.
3436

3537

3638

template.hbs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424

2525
##### Parameters
2626

27+
| Name | Type | Description | |
28+
| ---- | ---- | ----------- | - |
2729
{{#each tags.param}}
28-
- **{{name}}** {{#each types}}`{{.}}` {{/each}} {{#if isOptional}}*Optional*{{/if}} {{{description}}}
30+
| {{name}} | {{#each types}}`{{.}}` {{/each}} | {{{description}}} | {{#if isOptional}}*Optional*{{else}} {{/if}} |
2931
{{/each}}
3032

3133
{{/if}}
@@ -34,8 +36,10 @@
3436

3537
##### Properties
3638

37-
{{#each tags.property}}
38-
- **{{name}}** {{#each types}}`{{.}}` {{/each}} {{#if isOptional}}*Optional*{{/if}} {{{description}}}
39+
| Name | Type | Description | |
40+
| ---- | ---- | ----------- | - |
41+
{{#each tags.param}}
42+
| {{name}} | {{#each types}}`{{.}}` {{/each}} | {{{description}}} | {{#if isOptional}}*Optional*{{else}} {{/if}} |
3943
{{/each}}
4044

4145
{{/if}}
@@ -57,7 +61,7 @@
5761
{{#if tags.return}}
5862

5963
{{#each tags.return}}
60-
- {{#each types}}`{{.}}` {{/each}} {{#if isOptional}}*Optional*{{/if}} {{{description}}}
64+
- {{#each types}}`{{.}}` {{/each}} {{{description}}}
6165
{{/each}}
6266

6367
{{else}}

0 commit comments

Comments
 (0)