Skip to content

Commit d59c28f

Browse files
committedMar 19, 2025
templates include base classes
#feat
1 parent 572a465 commit d59c28f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2077
-0
lines changed
 

‎share/mrdocs/addons/generator/adoc/partials/symbol.adoc.hbs

+14
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@
2828

2929
{{> symbol/signatures symbol }}
3030
{{/unless}}
31+
{{! Base classes }}
32+
{{#if (any_of_by symbol.bases "isPublic")}}
33+
{{#> markup/dynamic-level-h }}Base Classes{{/markup/dynamic-level-h}}
34+
[,cols=2]
35+
|===
36+
| Name
37+
| Description
38+
{{#each (filter_by symbol.bases "isPublic")}}
39+
| {{#>markup/code}}{{> type/declarator type }}{{/markup/code}}
40+
| {{> javadoc/inline-brief symbol.doc.brief }}
41+
{{/each}}
42+
|===
43+
44+
{{/if}}
3145
{{! Members }}
3246
{{! Record interface }}
3347
{{#if (eq symbol.kind "record")}}

‎share/mrdocs/addons/generator/html/partials/symbol.html.hbs

+19
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,25 @@
4040

4141
</div>
4242
{{/unless}}
43+
{{! Base classes }}
44+
{{#if (any_of_by symbol.bases "isPublic")}}
45+
<div>
46+
{{#> markup/dynamic-level-h }}Base Classes{{/markup/dynamic-level-h}}
47+
<table>
48+
<thead>
49+
<tr>
50+
<th>Name</th>
51+
<th>Description</th>
52+
</tr>
53+
</thead>
54+
<tbody>
55+
{{#each (filter_by symbol.bases "isPublic")}}
56+
<tr><td>{{#>markup/code}}{{> type/declarator type }}{{/markup/code}}</td><td>{{> javadoc/inline-brief symbol.doc.brief }}</td></tr>
57+
{{/each}}
58+
</tbody>
59+
</table>
60+
</div>
61+
{{/if}}
4362
{{! Members }}
4463
{{! Record interface }}
4564
{{#if (eq symbol.kind "record")}}

0 commit comments

Comments
 (0)