fix: doc string for all DocInfo

main
Xubai Wang 2022-02-17 13:53:29 +08:00
parent b7c6a98969
commit 5790172eab
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ def docInfoToHtml (module : Name) (doc : DocInfo) : HtmlM Html := do
| DocInfo.definitionInfo i => definitionToHtml i
| DocInfo.instanceInfo i => instanceToHtml i
| DocInfo.classInductiveInfo i => classInductiveToHtml i
| _ => pure #[]
| i => match i.getDocString with
| some d => pure #[docStringToHtml d]
| _ => pure #[]
let attrs := doc.getAttrs
let attrsHtml :=