Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Exports a datastructure for the top-level hakyll configuration
Synopsis
- data Configuration = Configuration {
- destinationDirectory :: FilePath
- storeDirectory :: FilePath
- tmpDirectory :: FilePath
- providerDirectory :: FilePath
- ignoreFile :: FilePath -> Bool
- checkHtmlFile :: FilePath -> Bool
- watchIgnore :: FilePath -> Bool
- deployCommand :: String
- deploySite :: Configuration -> IO ExitCode
- inMemoryCache :: Bool
- previewHost :: String
- previewPort :: Int
- previewSettings :: FilePath -> StaticSettings
- shouldIgnoreFile :: Configuration -> FilePath -> IO Bool
- shouldWatchIgnore :: Configuration -> IO (FilePath -> IO Bool)
- defaultConfiguration :: Configuration
Documentation
data Configuration Source #
Configuration | |
|
Instances
Default Configuration Source # | |
Defined in Hakyll.Core.Configuration def :: Configuration # |
shouldIgnoreFile :: Configuration -> FilePath -> IO Bool Source #
Check if a file should be ignored
shouldWatchIgnore :: Configuration -> IO (FilePath -> IO Bool) Source #
Returns a function to check if a file should be ignored in watch mode
defaultConfiguration :: Configuration Source #
Default configuration for a hakyll application