Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions for initializing a Gitit wiki.
Synopsis
- initializeGititState :: Config -> IO ()
- recompilePageTemplate :: 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 :: 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.