bookshelf-doc/DocGen4/Output/ClassInductive.lean

14 lines
321 B
Plaintext
Raw Normal View History

2022-02-06 19:14:36 +00:00
import DocGen4.Output.Template
import DocGen4.Output.Class
import DocGen4.Output.Inductive
namespace DocGen4
namespace Output
def classInductiveToHtml (i : ClassInductiveInfo) : HtmlM (Array Html) := do
2022-02-12 14:09:13 +00:00
pure $ (←inductiveToHtml i.toInductiveInfo).push (←classInstancesToHtml i.instances)
2022-02-06 19:14:36 +00:00
end Output
end DocGen4