hdocs-0.1.0.0: Haskell docs daemon

Safe HaskellNone

HDocs.Module

Contents

Synopsis

Types

type ModuleDocMap = Map String (Doc String)Source

Documentations in module

runDocsM :: DocsM a -> IO (Either String a)Source

Run docs monad

Helpers

formatDoc :: Doc String -> StringSource

Format documentation to plain text.

Get module docs

moduleDocs :: [String] -> String -> DocsM ModuleDocMapSource

Load module documentation

fileDocs :: [String] -> FilePath -> DocsM ModuleDocMapSource

Load file documentation

docs :: [String] -> String -> DocsM ModuleDocMapSource

Load docs for file or module