Files
sxlxc e84a1b8c78 Add Hakyll site generator and assets
Add site executable and Haskell modules (site.hs, ChaoDoc.hs,
SideNoteHTML.hs, Pangu.hs) to handle Pandoc/Hakyll compilation,
theorem/sidenote processing and CJK spacing. Add CSS, font files,
favicon, templates, Makefile, and a CSL bibliographic style. Update
.gitignore to ignore build artifacts.
2026-04-01 23:38:05 +08:00

37 lines
1.2 KiB
Plaintext

name: zzz
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.10
executable site
hs-source-dirs: src
main-is: site.hs
other-modules: ChaoDoc, SideNoteHTML, Pangu
build-depends: base >= 4.18
, hakyll >= 4.15
, mtl >= 2.2.2
, pandoc
, pandoc-types >= 1.22.2.1
, pandoc-sidenote
, tagsoup
, text
, containers
-- , process
-- , regex-compat
, array
, filepath
-- , ghc-syntax-highlighter
-- , blaze-html >= 0.9
, megaparsec
, replace-megaparsec
ghc-options: -Weverything
-Wno-implicit-prelude
-Wno-missing-import-lists
-Wno-unused-packages
-Wno-missing-safe-haskell-mode
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-prepositive-qualified-module
-O2 -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010