snm-0.0.2: The Simple Nice-Looking Manual Generator.

Manual.Reader

Description

Read a manual from its source files

Synopsis

Documentation

inline :: Parser InlineSource

Parse an inline element

eparse_inline :: String -> Either ParseError [Inline]Source

Parse inline elements

parse_inline :: String -> IO [Inline]Source

Parse inline elements

yext :: Maybe Yaml -> String -> StringSource

Read a string from maybe a yaml

ymap :: (Yaml -> a) -> Yaml -> Maybe [a]Source

read_mbanner :: Banner -> Maybe Yaml -> IO BannerSource

Read a banner from what might be some yaml

load_section :: FilePath -> IO SectionSource

Load a section and all associated subsections.

catch_read_errs :: String -> IO a -> IO aSource

Catch errors while reading files

load_section_nums :: FilePath -> [Int] -> IO SectionSource

Load a section and all associated subsections.

getDirectoryFiles :: FilePath -> IO [FilePath]Source

Get the qualified names of files in a directory

load_manual :: FilePath -> IO ManualSource

Load a manual from a directory