Skip to content

Commit 5234b67

Browse files
committed
fix(handlebars): recursively traversed namespaces do not include description
1 parent 142e639 commit 5234b67

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@
128128
{{/if}}
129129
{{! Description }}
130130
{{#if symbol.doc.description}}
131+
{{#unless traversing-global-namespace}}
131132
{{#> markup/dynamic-level-h }}Description{{/markup/dynamic-level-h}}
132133
{{> javadoc/description symbol.doc.description }}
134+
{{/unless}}
133135
{{/if}}
134136
{{! Using symbols }}
135137
{{#if symbol.shadows}}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,12 @@
174174
{{/if}}
175175
{{! Description }}
176176
{{#if symbol.doc.description}}
177+
{{#unless traversing-global-namespace}}
177178
<div>
178179
{{#> markup/dynamic-level-h level=2 }}Description{{/markup/dynamic-level-h}}
179180
{{> javadoc/description symbol.doc.description }}
180181
</div>
182+
{{/unless}}
181183
{{/if}}
182184
{{! Using symbols }}
183185
{{#if symbol.shadows}}

0 commit comments

Comments
 (0)