Skip to content

Commit a0c9d1d

Browse files
committed
refactor: replicate function and record sections
1 parent 6e00120 commit a0c9d1d

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

share/mrdocs/addons/generator/asciidoc/partials/function.adoc.hbs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,31 @@
1414

1515
{{symbol.doc.description}}
1616

17+
{{! TODO: == Exceptions }}
18+
19+
{{#if symbol.return}}
20+
== Return Value
21+
22+
* `{{symbol.return.name}}` {{! TODO: symbol.doc.return }}
23+
24+
{{/if}}
25+
26+
{{#if symbol.params}}
27+
== Parameters
28+
29+
|===
30+
| Name | Type {{! TODO: | Description }}
31+
32+
{{#each symbol.params}}
33+
| *{{name}}*
34+
| `{{type.name}}`
35+
{{! TODO: symbol.doc.params.[name] }}
36+
37+
{{/each}}
38+
|===
39+
40+
{{/if}}
41+
42+
{{! TODO: == See Also }}
43+
1744
{{/if}}

share/mrdocs/addons/generator/asciidoc/partials/record.adoc.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
{{symbol.doc.description}}
2222

2323
{{/if}}
24+
25+
{{! TODO: == See Also }}

0 commit comments

Comments
 (0)