Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Nov 4, 2024
1 parent f9cdc62 commit 3fcc4b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DocGen4/Output/References.lean
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def refItem (ref : BibItem) (backrefs : Array BackrefItem) : BaseHtmlM Html := d
if backrefs.isEmpty then
pure (.raw "")
else
pure <small>[(← backrefs.mapIdxM toHtml).foldl (· ++ ·) #[]]</small>)
pure <small>[(← backrefs.mapFinIdxM toHtml).foldl (· ++ ·) #[]]</small>)
pure <|
<li id={s!"ref_{ref.citekey}"}>
<a href={s!"#ref_{ref.citekey}"}>{.text ref.tag}</a>
Expand Down
2 changes: 1 addition & 1 deletion DocGen4/Process/StructureInfo.lean
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def getFieldTypes (v : InductiveVal) : MetaM (Array NameInfo) := do
def StructureInfo.ofInductiveVal (v : InductiveVal) : MetaM StructureInfo := do
let info ← Info.ofConstantVal v.toConstantVal
let env ← getEnv
let parents := getParentStructures env v.name
let parents ← getAllParentStructures v.name
let ctorVal := getStructureCtor env v.name
let ctor ← NameInfo.ofTypedName ctorVal.name ctorVal.type
match getStructureInfo? env v.name with
Expand Down
4 changes: 2 additions & 2 deletions lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "107e98b3e7603628d9bfd817b4704488d8a25e96",
"rev": "b41bc9cec7f433d6e1d74ff3b59edaaf58ad2915",
"name": "UnicodeBasic",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -35,7 +35,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "2cf1030dc2ae6b3632c84a09350b675ef3e347d0",
"rev": "726b3c9ad13acca724d4651f14afc4804a7b0e4d",
"name": "Cli",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand Down

0 comments on commit 3fcc4b2

Please sign in to comment.