Do the same for inductives

main
Eric Wieser 2023-08-18 08:40:27 +01:00 committed by Henrik Böving
parent e5ff71991d
commit d3d67c1d92
1 changed files with 1 additions and 1 deletions

View File

@ -22,8 +22,8 @@ def ctorToHtml (c : Process.NameInfo) : HtmlM Html := do
let renderedDoc ← docStringToHtml doc let renderedDoc ← docStringToHtml doc
pure pure
<li class="constructor" id={name}> <li class="constructor" id={name}>
<div class="inductive_ctor_doc">[renderedDoc]</div>
{shortName} : [← infoFormatToHtml c.type] {shortName} : [← infoFormatToHtml c.type]
<div class="inductive_ctor_doc">[renderedDoc]</div>
</li> </li>
else else
pure pure