Functions for initializing a Gitit wiki.
- 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.
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.