hakyll-4.12.3.0: A static website compiler library

Safe HaskellNone
LanguageHaskell2010

Hakyll.Main

Description

Module providing the main hakyll function and command-line argument parsing

Synopsis

Documentation

hakyll :: Rules a -> IO () #

This usually is the function with which the user runs the hakyll compiler

hakyllWith :: Configuration -> Rules a -> IO () #

A variant of hakyll which allows the user to specify a custom configuration

hakyllWithArgs :: Configuration -> Options -> Rules a -> IO () #

A variant of hakyll which expects a Configuration and command-line Options. This gives freedom to implement your own parsing.

hakyllWithExitCode :: Configuration -> Rules a -> IO ExitCode #

A variant of hakyll which returns an ExitCode

data Options #

The parsed command-line options.

Constructors

Options 

Instances

data Command #

The command to run.

Constructors

Build

Generate the site.

Check

Validate the site output.

Fields

Clean

Clean up and remove cache.

Deploy

Upload/deploy your site.

Preview

Deprecated: Use Watch instead.

DEPRECATED
Please use the watch command.

Fields

Rebuild

Clean and build again.

Server

Start a preview server.

Fields

Watch

Autocompile on changes and start a preview server.

Fields

Instances