Skip to content

Commit 0e3c9a8

Browse files
committed
Template pre/post conditions are unordered lists
#feat
1 parent d92629d commit 0e3c9a8

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
{{#> markup/dynamic-level-h }}Preconditions{{/markup/dynamic-level-h}}
197197

198198
{{#each symbol.doc.preconditions}}
199-
{{{.}}}
199+
* {{{.}}}
200200
{{/each}}
201201

202202
{{/if}}
@@ -205,7 +205,7 @@
205205
{{#> markup/dynamic-level-h }}Postconditions{{/markup/dynamic-level-h}}
206206

207207
{{#each symbol.doc.postconditions}}
208-
{{{.}}}
208+
* {{{.}}}
209209
{{/each}}
210210

211211
{{/if}}

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -272,18 +272,22 @@
272272
{{#if symbol.doc.preconditions}}
273273
<div>
274274
{{#> markup/dynamic-level-h level=2 }}Preconditions{{/markup/dynamic-level-h}}
275+
<ul>
275276
{{#each symbol.doc.preconditions}}
276-
<p>{{{.}}}</p>
277+
<li>{{{.}}}</li>
277278
{{/each}}
279+
</ul>
278280
</div>
279281
{{/if}}
280282
{{! Postconditions }}
281283
{{#if symbol.doc.postconditions}}
282284
<div>
283285
{{#> markup/dynamic-level-h level=2 }}Postconditions{{/markup/dynamic-level-h}}
286+
<ul>
284287
{{#each symbol.doc.postconditions}}
285-
<p>{{{.}}}</p>
288+
<li>{{{.}}}</li>
286289
{{/each}}
290+
</ul>
287291
</div>
288292
{{/if}}
289293
{{! See Also }}

0 commit comments

Comments
 (0)