SSG/Builder.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned compfiles documentation, Pinned compfiles corpus index
3 declarations, 0 contain sorry, 0 declared as axioms
Site building engine
Imports (1)
Imported by 1 file
- def
copyAssetCopy a single asset line 12 sourceSource documentation
Copy a single asset
def copyAsset (outDir : String) : Asset → IO Unit | .file src dst => do let content ← IO.FS.readFile src IO.FS.writeFile (outDir ++ "/" ++ dst) content | .binary src dst => do let content ← IO.FS.readBinFile src IO.FS.writeBinFile (outDir ++ "/" ++ dst) content /-- Write a single page -/Mentions: Asset
- def
writePageWrite a single page line 21 sourceSource documentation
Write a single page
def writePage (outDir : String) (page : Page) : IO Unit := do …
Mentions: Page
- def
buildSiteBuild the entire site line 30 sourceSource documentation
Build the entire site
def buildSite {Custom : Type} [ToString Custom] (config : SiteConfig Custom) (assets : List Asset) (pages : List Page) : IO Unit := do …Mentions: SiteConfig, Asset, Page