refactor: use json ext instead of bmp
parent
87a8b8feb0
commit
9f13773a7d
|
@ -80,7 +80,7 @@ def htmlOutput (result : AnalyzerResult) (root : String) : IO Unit := do
|
||||||
declList := declList.push obj
|
declList := declList.push obj
|
||||||
let json := Json.arr declList
|
let json := Json.arr declList
|
||||||
|
|
||||||
FS.writeFile (basePath / "searchable_data.bmp") json.compress
|
FS.writeFile (basePath / "searchable_data.json") json.compress
|
||||||
FS.writeFile (basePath / "index.html") indexHtml.toString
|
FS.writeFile (basePath / "index.html") indexHtml.toString
|
||||||
FS.writeFile (basePath / "style.css") styleCss
|
FS.writeFile (basePath / "style.css") styleCss
|
||||||
FS.writeFile (basePath / "404.html") notFoundHtml.toString
|
FS.writeFile (basePath / "404.html") notFoundHtml.toString
|
||||||
|
|
|
@ -106,7 +106,7 @@ if (tse != null) {
|
||||||
// Simple declaration search
|
// Simple declaration search
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
const declURL = new URL(`${siteRoot}searchable_data.bmp`, window.location);
|
const declURL = new URL(`${siteRoot}searchable_data.json`, window.location);
|
||||||
const getDecls = (() => {
|
const getDecls = (() => {
|
||||||
let decls;
|
let decls;
|
||||||
return () => {
|
return () => {
|
||||||
|
|
Loading…
Reference in New Issue