Put field docstrings after the field

main
Eric Wieser 2023-08-18 08:38:59 +01:00 committed by Henrik Böving
parent 596782c1fe
commit e5ff71991d
1 changed files with 1 additions and 1 deletions

View File

@ -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