Sync doc-gen4 with upstream.

finite-set-exercises
Joshua Potter 2023-06-05 18:42:43 -06:00
parent 2dff3f5794
commit 079710d40a
4 changed files with 10 additions and 9 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]

View File

@ -10,7 +10,7 @@
{"git": {"git":
{"url": "https://github.com/leanprover/lake", {"url": "https://github.com/leanprover/lake",
"subDir?": null, "subDir?": null,
"rev": "257fc59a6464f5732a4f49e7dda0fc37475819fb", "rev": "0d4da61cbfe65f19ac7070c2c9f62f36db529c4c",
"name": "lake", "name": "lake",
"inputRev?": "master"}}, "inputRev?": "master"}},
{"git": {"git":
@ -22,7 +22,7 @@
{"git": {"git":
{"url": "https://github.com/leanprover-community/mathlib4.git", {"url": "https://github.com/leanprover-community/mathlib4.git",
"subDir?": null, "subDir?": null,
"rev": "62e469416e55278c1a4bca000426539b578b7749", "rev": "47535ddd6cff5cf523b8914a5269639641b9bb54",
"name": "mathlib", "name": "mathlib",
"inputRev?": "master"}}, "inputRev?": "master"}},
{"git": {"git":
@ -34,7 +34,7 @@
{"git": {"git":
{"url": "https://github.com/JLimperg/aesop", {"url": "https://github.com/JLimperg/aesop",
"subDir?": null, "subDir?": null,
"rev": "409f3b050034337664d21e41fe1cc1bf7f5daec0", "rev": "ca73109cc40837bc61df8024c9016da4b4f99d4c",
"name": "aesop", "name": "aesop",
"inputRev?": "master"}}, "inputRev?": "master"}},
{"git": {"git":
@ -46,18 +46,18 @@
{"git": {"git":
{"url": "https://github.com/fgdorais/lean4-unicode-basic", {"url": "https://github.com/fgdorais/lean4-unicode-basic",
"subDir?": null, "subDir?": null,
"rev": "ce508dcd1fd49ba15675861aafd864572a0b8252", "rev": "f09250282cea3ed8c010f430264d9e8e50d7bc32",
"name": "UnicodeBasic", "name": "UnicodeBasic",
"inputRev?": "main"}}, "inputRev?": "main"}},
{"git": {"git":
{"url": "https://github.com/leanprover/std4.git", {"url": "https://github.com/leanprover/std4.git",
"subDir?": null, "subDir?": null,
"rev": "acb5ba1b6643269a37da88fa3ce5d30e27e66bad", "rev": "176b4657e21ea6f5a1517c625ee97e89acad0126",
"name": "std4", "name": "std4",
"inputRev?": "main"}}, "inputRev?": "main"}},
{"git": {"git":
{"url": "https://github.com/leanprover/std4", {"url": "https://github.com/leanprover/std4",
"subDir?": null, "subDir?": null,
"rev": "3156cd5b375d1a932d590c918b7ad50e3be11947", "rev": "6932c4ea52914dc6b0488944e367459ddc4d01a6",
"name": "std", "name": "std",
"inputRev?": "main"}}]} "inputRev?": "main"}}]}

View File

@ -1 +1 @@
leanprover/lean4:nightly-2023-05-16 leanprover/lean4:nightly-2023-05-31

View File

@ -147,7 +147,8 @@ DeclarationDataCenter.init()
checkbox.addEventListener("input", ev => SEARCH_PAGE_INPUT.dispatchEvent(new Event("input"))) checkbox.addEventListener("input", ev => SEARCH_PAGE_INPUT.dispatchEvent(new Event("input")))
); );
SEARCH_PAGE_INPUT.dispatchEvent(new Event("input")) SEARCH_PAGE_INPUT.dispatchEvent(new Event("input"))
} };
SEARCH_INPUT.dispatchEvent(new Event("input"))
}) })
.catch(e => { .catch(e => {
SEARCH_INPUT.addEventListener("input", ev => handleSearch(null, e, ev, ac_results, AC_MAX_RESULTS,true )); SEARCH_INPUT.addEventListener("input", ev => handleSearch(null, e, ev, ac_results, AC_MAX_RESULTS,true ));