daino-0.1.5.2: daino is a static site generator (SSG) using shake and pandoc
Safe HaskellSafe-Inferred
LanguageHaskell2010

ShakeBake.Shake2

Synopsis

Documentation

shakeArgs2 :: Path b t -> Rules () -> IO () Source #

set the options for shake called in shakeMD

shakeAll :: NoticeLevel -> Settings -> PubFlags -> FilePath -> ErrIO () Source #

calls shake in the IO monade. this is in the ErrIO

shakeMD :: NoticeLevel -> Settings -> PubFlags -> Path Abs Dir -> Path Abs Dir -> IO () Source #

bake all md files and copy the resources from each md produce: - html - pdf sets the current dir to doughDir copies banner image in IO TOP shake call

getNeeds Source #

Arguments

:: NoticeLevel 
-> Settings

the site layout etc

-> Path Abs Dir

source dir

-> Path Abs Dir

target dir

-> Text

extension source

-> Text

extension target

-> Action [Path Abs File] 

find the files which are needed (generic) from source with extension ext does not include directory DNB (do not bake)

getNeedsMD Source #

Arguments

:: NoticeLevel 
-> PubFlags 
-> Settings 
-> Path Abs Dir

source dir

-> Path Abs Dir

target dir

-> Text

extension source

-> Text

extension target

-> Action [Path Abs File] 

find the files which are needed (generic) from source with extension ext does not include directory DNB (do not bake)