Copyright | Isaac Jones 2003-2005 |
---|---|
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Distribution.Simple.Haddock
Description
This module deals with the haddock
and hscolour
commands.
It uses information about installed packages (from ghc-pkg
) to find the
locations of documentation for dependent packages, so it can create links.
The hscolour
support allows generating html versions of the original
source, with coloured syntax highlighting.
Documentation
haddock :: PackageDescription -> LocalBuildInfo -> [PPSuffixHandler] -> HaddockFlags -> IO ()
hscolour :: PackageDescription -> LocalBuildInfo -> [PPSuffixHandler] -> HscolourFlags -> IO ()