revert: use bmp extension again
parent
73f7906357
commit
842e243241
|
@ -80,7 +80,7 @@ def htmlOutput (result : AnalyzerResult) (root : String) : IO Unit := do
|
|||
declList := declList.push obj
|
||||
let json := Json.arr declList
|
||||
|
||||
FS.writeFile (basePath / "searchable-data.json") json.compress
|
||||
FS.writeFile (basePath / "searchable_data.bmp") json.compress
|
||||
FS.writeFile (basePath / "index.html") indexHtml.toString
|
||||
FS.writeFile (basePath / "style.css") styleCss
|
||||
FS.writeFile (basePath / "404.html") notFoundHtml.toString
|
||||
|
|
|
@ -24,7 +24,7 @@ def baseHtmlArray (title : String) (site : Array Html) : HtmlM Html := do
|
|||
<link rel="stylesheet" href={s!"{←getRoot}style.css"}/>
|
||||
<link rel="stylesheet" href={s!"{←getRoot}pygments.css"}/>
|
||||
<link rel="shortcut icon" href={s!"{←getRoot}favicon.ico"}/>
|
||||
<link rel="prefetch" href={s!"{←getRoot}searchable-data.json"}/>
|
||||
<link rel="prefetch" href={s!"{←getRoot}searchable_data.bmp"}/>
|
||||
|
||||
<script defer="true" src={s!"{←getRoot}site-root.js"}></script>
|
||||
<script defer="true" src={s!"{←getRoot}nav.js"}></script>
|
||||
|
|
|
@ -106,7 +106,7 @@ if (tse != null) {
|
|||
// Simple declaration search
|
||||
// -------------------------
|
||||
|
||||
const declURL = new URL(`${siteRoot}searchable-data.json`, window.location);
|
||||
const declURL = new URL(`${siteRoot}searchable_data.bmp`, window.location);
|
||||
const getDecls = (() => {
|
||||
let decls;
|
||||
return () => {
|
||||
|
|
Loading…
Reference in New Issue