fix: doc string for all DocInfo
parent
b7c6a98969
commit
5790172eab
|
@ -81,7 +81,9 @@ def docInfoToHtml (module : Name) (doc : DocInfo) : HtmlM Html := do
|
||||||
| DocInfo.definitionInfo i => definitionToHtml i
|
| DocInfo.definitionInfo i => definitionToHtml i
|
||||||
| DocInfo.instanceInfo i => instanceToHtml i
|
| DocInfo.instanceInfo i => instanceToHtml i
|
||||||
| DocInfo.classInductiveInfo i => classInductiveToHtml i
|
| DocInfo.classInductiveInfo i => classInductiveToHtml i
|
||||||
| _ => pure #[]
|
| i => match i.getDocString with
|
||||||
|
| some d => pure #[docStringToHtml d]
|
||||||
|
| _ => pure #[]
|
||||||
|
|
||||||
let attrs := doc.getAttrs
|
let attrs := doc.getAttrs
|
||||||
let attrsHtml :=
|
let attrsHtml :=
|
||||||
|
|
Loading…
Reference in New Issue