Constructors
ConfigurationdestinationDirectory :: FilePathDirectory in which the output written
storeDirectory :: FilePathDirectory where hakyll's internal store is kept
tmpDirectory :: FilePathDirectory in which some temporary files will be kept
providerDirectory :: FilePathDirectory where hakyll finds the files to compile. This is
.by default.ignoreFile :: FilePath -> BoolFunction to determine ignored files
In defaultConfiguration, the following files are ignored:
files starting with a
.files starting with a
#files ending with a
~files ending with
.swp
Note that the files in destinationDirectory and storeDirectory will also be ignored. Note that this is the configuration parameter, if you want to use the test, you should use shouldIgnoreFile.
checkHtmlFile :: FilePath -> BoolFunction to determine HTML files whose links are to be checked.
In defaultConfiguration, files with the
.htmlextension are checked.watchIgnore :: FilePath -> BoolFunction to determine files and directories that should not trigger a rebuild when touched in watch mode.
Paths are passed in relative to the providerDirectory.
All files that are ignored by ignoreFile are also always ignored by watchIgnore.
deployCommand :: StringHere, you can plug in a system command to upload/deploy your site.
Example:
rsync -ave 'ssh -p 2217' _site jaspervdj@jaspervdj.be:hakyllYou can execute this by using
./site deploydeploySite :: Configuration -> IO ExitCodeFunction to deploy the site from Haskell.
By default, this command executes the shell command stored in deployCommand. If you override it, deployCommand will not be used implicitely.
The Configuration object is passed as a parameter to this function.
inMemoryCache :: BoolUse an in-memory cache for items. This is faster but uses more memory.
previewHost :: StringOverride default host for preview server. Default is "127.0.0.1", which binds only on the loopback address. One can also override the host as a command line argument: ./site preview -h "0.0.0.0"
previewPort :: IntOverride default port for preview server. Default is 8000. One can also override the port as a command line argument: ./site preview -p 1234
previewSettings :: FilePath -> StaticSettingsOverride other settings used by the preview server. Default is defaultFileServerSettings.
Instances1Default
Default ConfigurationDefined in hakyll-4.17.0.0 · Hakyll.Core.Configuration