Put field docstrings after the field
parent
596782c1fe
commit
e5ff71991d
|
@ -18,8 +18,8 @@ def fieldToHtml (f : Process.NameInfo) : HtmlM Html := do
|
||||||
let renderedDoc ← docStringToHtml doc
|
let renderedDoc ← docStringToHtml doc
|
||||||
pure
|
pure
|
||||||
<li id={name} class="structure_field">
|
<li id={name} class="structure_field">
|
||||||
<div class="structure_field_doc">[renderedDoc]</div>
|
|
||||||
<div class="structure_field_info">{s!"{shortName} "} : [← infoFormatToHtml f.type]</div>
|
<div class="structure_field_info">{s!"{shortName} "} : [← infoFormatToHtml f.type]</div>
|
||||||
|
<div class="structure_field_doc">[renderedDoc]</div>
|
||||||
</li>
|
</li>
|
||||||
else
|
else
|
||||||
pure
|
pure
|
||||||
|
|
Loading…
Reference in New Issue