fix: doc string for all DocInfo
parent
b7c6a98969
commit
5790172eab
|
@ -81,6 +81,8 @@ 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
|
||||||
|
| i => match i.getDocString with
|
||||||
|
| some d => pure #[docStringToHtml d]
|
||||||
| _ => pure #[]
|
| _ => pure #[]
|
||||||
|
|
||||||
let attrs := doc.getAttrs
|
let attrs := doc.getAttrs
|
||||||
|
|
Loading…
Reference in New Issue