diff options
Diffstat (limited to 'src/Documentation/Haddock.hs')
-rw-r--r-- | src/Documentation/Haddock.hs | 54 |
1 files changed, 46 insertions, 8 deletions
diff --git a/src/Documentation/Haddock.hs b/src/Documentation/Haddock.hs index 13bbc543..d10c89df 100644 --- a/src/Documentation/Haddock.hs +++ b/src/Documentation/Haddock.hs @@ -1,22 +1,60 @@ +----------------------------------------------------------------------------- +-- | +-- Module : Documentation.Haddock +-- Copyright : (c) David Waern 2010 +-- License : BSD-like -- --- Haddock - A Haskell Documentation Tool --- --- (c) Simon Marlow 2003 +-- Maintainer : haddock@projects.haskellorg +-- Stability : experimental +-- Portability : portable -- +-- The Haddock API: A rudimentory, highly experimental API exposing some of +-- the internals of Haddock. Don't expect it to be stable. +----------------------------------------------------------------------------- module Documentation.Haddock ( + + -- * Interface + Interface(..), + InstalledInterface(..), + createInterfaces, + + -- * Export items & declarations + ExportItem(..), + DeclInfo, + DocForDecl, + FnArgsDoc, + + -- * Hyperlinking + LinkEnv, + DocName(..), + docNameOcc, + + -- * Instances + DocInstance, + InstHead(..), + + -- * Documentation comments + Doc(..), + DocMarkup(..), + + -- * Interface Files + -- | (.haddock files) + InterfaceFile(..), readInterfaceFile, nameCacheFromGhc, freshNameCache, NameCacheAccessor, - InterfaceFile(..), - LinkEnv, - InstalledInterface(..), - DocName(..), - docNameOcc + + -- * Flags and options + Flag(..), + DocOption(..) + ) where import Haddock.InterfaceFile +import Haddock.Interface import Haddock.Types +import Haddock.Options |