Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- completeIndex :: NoticeLevel -> PubFlags -> Settings -> Path Abs Dir -> Maybe Text -> IndexEntry -> ErrIO IndexEntry
- getDirContent2dirs_files :: NoticeLevel -> PubFlags -> Settings -> Path Abs Dir -> Path Abs File -> ErrIO ([IndexEntry], [IndexEntry])
- getFile2index :: NoticeLevel -> PubFlags -> Settings -> Path Abs File -> ErrIO (Maybe IndexEntry)
Documentation
completeIndex :: NoticeLevel -> PubFlags -> Settings -> Path Abs Dir -> Maybe Text -> IndexEntry -> ErrIO IndexEntry Source #
the top call to form the index data into the MetaPage later only the format for output must be fixed
getDirContent2dirs_files :: NoticeLevel -> PubFlags -> Settings -> Path Abs Dir -> Path Abs File -> ErrIO ([IndexEntry], [IndexEntry]) Source #
get the contents of a directory, separated into dirs and files the directory is given by the index file which files to check: index.md (in dough) or index.docrep (in baked) currently checks index.docrep in dough (which are not existing) indexfile itself is removed and files which are not markdown
getFile2index :: NoticeLevel -> PubFlags -> Settings -> Path Abs File -> ErrIO (Maybe IndexEntry) Source #