Skip to content

Commit 193cac8

Browse files
committed
Prevent examples section from displaying when empty.
1 parent 5e2f88f commit 193cac8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/markdown.hbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,14 @@
4040

4141
{{/if}}
4242

43+
{{#if description.body}}
44+
4345
###Examples
4446

4547
{{{description.body}}}
48+
49+
{{/if}}
50+
4651
{{/if}}{{/unless}}{{/each}}{{/each}}
4752

4853
_Documentation generated with [doxdox](https://github.com/neogeek/doxdox)._

0 commit comments

Comments
 (0)