hakyll-4.16.2.2: A static website compiler library

Safe Haskell | Safe-Inferred
Language | Haskell2010

Hakyll.Commands

Description

Implementation of Hakyll commands: build, preview...

Synopsis

- data Check
  - = All
  - | InternalLinks
- build :: RunMode -> Configuration -> Logger -> Rules a -> IO ExitCode
- check :: Configuration -> Logger -> Check -> IO ExitCode
- clean :: Configuration -> Logger -> IO ()
- preview :: Configuration -> Logger -> Rules a -> Int -> IO ()
- rebuild :: Configuration -> Logger -> Rules a -> IO ExitCode
- server :: Configuration -> Logger -> String -> Int -> IO ()
- deploy :: Configuration -> IO ExitCode
- watch :: Configuration -> Logger -> String -> Int -> Bool -> Rules a -> IO ()

# Documentation

data Check Source #

Constructors

All |
InternalLinks |

#### Instances

Instances details

Show Check Source # |
Instance details Defined in Hakyll.Check Methods showsPrec :: Int -> Check -> ShowS Source # show :: Check -> String Source # showList :: [Check] -> ShowS Source #
Eq Check Source # |
Instance details Defined in Hakyll.Check Methods (==) :: Check -> Check -> Bool Source # (/=) :: Check -> Check -> Bool Source #
Ord Check Source # |
Instance details Defined in Hakyll.Check Methods compare :: Check -> Check -> Ordering Source # (<) :: Check -> Check -> Bool Source # (<=) :: Check -> Check -> Bool Source # (>) :: Check -> Check -> Bool Source # (>=) :: Check -> Check -> Bool Source # max :: Check -> Check -> Check Source # min :: Check -> Check -> Check Source #

build :: RunMode -> Configuration -> Logger -> Rules a -> IO ExitCode Source #

Build the site

check :: Configuration -> Logger -> Check -> IO ExitCode Source #

Run the checker and exit

clean :: Configuration -> Logger -> IO () Source #

Remove the output directories

preview :: Configuration -> Logger -> Rules a -> Int -> IO () Source #

Preview the site

rebuild :: Configuration -> Logger -> Rules a -> IO ExitCode Source #

Rebuild the site

server :: Configuration -> Logger -> String -> Int -> IO () Source #

Start a server

deploy :: Configuration -> IO ExitCode Source #

Upload the site

watch :: Configuration -> Logger -> String -> Int -> Bool -> Rules a -> IO () Source #

Watch and recompile for changes