Skip to content

Commit a962db0

Browse files
fpelliccionialandefreitas
authored andcommitted
fix: missing template parameters in asciidoc templates
1 parent 9348766 commit a962db0

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

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

+14
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@
4040
4141
{{/if}}
4242
43+
{{#if symbol.doc.tparams}}
44+
=={{#unless is_multipage}}={{/unless}} Template Parameters
45+
46+
|===
47+
| Name | Description
48+
49+
{{#each symbol.doc.tparams}}
50+
| *{{name}}*
51+
| {{description}}
52+
{{/each}}
53+
|===
54+
55+
{{/if}}
56+
4357
{{#if symbol.doc.params}}
4458
=={{#unless is_multipage}}={{/unless}} Parameters
4559

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

+14
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@
2525
2626
{{/if}}
2727
28+
{{#if symbol.doc.tparams}}
29+
=={{#unless is_multipage}}={{/unless}} Template Parameters
30+
31+
|===
32+
| Name | Description
33+
34+
{{#each symbol.doc.tparams}}
35+
| *{{name}}*
36+
| {{description}}
37+
{{/each}}
38+
|===
39+
40+
{{/if}}
41+
2842
{{#if symbol.doc.see}}
2943
=={{#unless is_multipage}}={{/unless}} See Also
3044

0 commit comments

Comments
 (0)