gitit-0.16: Wiki using happstack, git or darcs, and pandoc.

Safe Haskell | None
Language | Haskell2010

Network.Gitit.Initialize

Description

Functions for initializing a Gitit wiki.

Synopsis

- initializeGititState :: Config -> IO ()
- recompilePageTemplate :: Config -> IO ()
- compilePageTemplate :: FilePath -> IO (StringTemplate String)
- createStaticIfMissing :: Config -> IO ()
- createRepoIfMissing :: Config -> IO ()
- createDefaultPages :: Config -> IO ()
- createTemplateIfMissing :: Config -> IO ()

# Documentation

initializeGititState :: Config -> IO () Source #

Initialize Gitit State.

recompilePageTemplate :: Config -> IO () Source #

Recompile the page template.

compilePageTemplate :: FilePath -> IO (StringTemplate String) Source #

createStaticIfMissing :: Config -> IO () Source #

Create static directory unless it exists.

createRepoIfMissing :: Config -> IO () Source #

Create page repository unless it exists.

createDefaultPages :: Config -> IO () Source #

createTemplateIfMissing :: Config -> IO () Source #

Create templates dir if it doesn't exist.