feat: list instances for defs also

main
Alex J. Best 2023-05-23 16:57:16 -06:00 committed by Henrik Böving
parent e888e9cc38
commit 306959b921
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ def docInfoToHtml (module : Name) (doc : DocInfo) : HtmlM Html := do
-- extra information like equations and instances -- extra information like equations and instances
let extraInfoHtml ← match doc with let extraInfoHtml ← match doc with
| DocInfo.classInfo i => pure #[← classInstancesToHtml i.name] | DocInfo.classInfo i => pure #[← classInstancesToHtml i.name]
| DocInfo.definitionInfo i => equationsToHtml i | DocInfo.definitionInfo i => pure ((← equationsToHtml i) ++ #[← instancesForToHtml i.name])
| DocInfo.instanceInfo i => equationsToHtml i.toDefinitionInfo | DocInfo.instanceInfo i => equationsToHtml i.toDefinitionInfo
| DocInfo.classInductiveInfo i => pure #[← classInstancesToHtml i.name] | DocInfo.classInductiveInfo i => pure #[← classInstancesToHtml i.name]
| DocInfo.inductiveInfo i => pure #[← instancesForToHtml i.name] | DocInfo.inductiveInfo i => pure #[← instancesForToHtml i.name]