Rib is a static site generator based on Shake, as well as Lucid and Clay.
Version 0.7 comes with a simplified API, as well as optional functionality for defining type-safe routes for your static sites!
- Dependency upgrades
- mmark: 0.0.7.2
- megaparsec: 0.8
- clay: 0.14
- shake: 0.8.15
- New features:
- Added Dhall parser,
Rib.Parser.Dhall- Add
Rib.Extracontaining useful but non-essential features- MMark, extensions removed:
ghcSyntaxHighlighter: we already haveskylighting(which supports more parsers than Haskell)obfuscateEmail: requires JS, which is not documented.- API changes:
- Introduced
Routefunctionality for simpler management of static routes.
- Removed
buildHtmlMulti,buildHtml,readSourcefunctions andSourcetype.- Introduced
Rib.Shake.forEveryto run a Shake action over a pattern of files when they change.- Exposed
Rib.Shake.writeFileCachedMMark.parseandPandoc.parsenow automatically append path toribInputDirand do not return Either.- Added
MMark.parseWith(andparsePureWith), to specify a custom list of mmark extensions- Bug fixes
- #95: Fix Shake error
resource busy (file is locked)- #97: Fix Shake error
AsyncCancelledwhen server thread crashes- #96 & #108: Drop problematic use of Shake
cacheActionWith