From c2d18fe3b156edc647dea3533edfee06b3fe02e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20B=C3=B6ving?= Date: Sun, 6 Feb 2022 17:06:22 +0100 Subject: [PATCH 1/7] feat: tag declarations with unsafe and partial --- DocGen4/Output/Module.lean | 6 +----- DocGen4/Process.lean | 43 +++++++++++++++++++++++++++++--------- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/DocGen4/Output/Module.lean b/DocGen4/Output/Module.lean index d203241..81a3db7 100644 --- a/DocGen4/Output/Module.lean +++ b/DocGen4/Output/Module.lean @@ -49,9 +49,7 @@ def structureInfoHeader (s : StructureInfo) : HtmlM (Array Html) := do def docInfoHeader (doc : DocInfo) : HtmlM Html := do let mut nodes := #[] - -- TODO: noncomputable, partial - -- TODO: Support all the kinds in CSS - nodes := nodes.push {doc.getKind} + nodes := nodes.push {doc.getKindDescription} nodes := nodes.push @@ -84,7 +82,6 @@ def docInfoToHtml (module : Name) (doc : DocInfo) : HtmlM Html := do return
- -- TODO: Put the proper source link source
-- TODO: Attributes @@ -134,7 +131,6 @@ def importsHtml (moduleName : Name) : HtmlM (Array Html) := do def internalNav (members : Array Name) (moduleName : Name) : HtmlM Html := do