refactor: website
This commit is contained in:
parent
e1303cbcf8
commit
16554ebe68
8 changed files with 38 additions and 37 deletions
|
@ -105,10 +105,10 @@ layout: default
|
|||
|
||||
unsafe def main (args : List String) : IO UInt32 := do
|
||||
let _ ← noImports
|
||||
let statString ← CoreM.withImportModules #[`HepLean] (getStats).run'
|
||||
let statString ← CoreM.withImportModules #[`PhysLean] (getStats).run'
|
||||
println! statString
|
||||
if "mkHTML" ∈ args then
|
||||
let html ← CoreM.withImportModules #[`HepLean] (Stats.toHtml).run'
|
||||
let html ← CoreM.withImportModules #[`PhysLean] (Stats.toHtml).run'
|
||||
let htmlFile : System.FilePath := {toString := "./docs/Stats.html"}
|
||||
IO.FS.writeFile htmlFile html
|
||||
IO.println (s!"HTML file made.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue