aboutsummaryrefslogtreecommitdiff
path: root/src/Documentation
diff options
context:
space:
mode:
authordavid.waern <david.waern@gmail.com>2010-02-24 22:55:08 +0000
committerdavid.waern <david.waern@gmail.com>2010-02-24 22:55:08 +0000
commit97e1bf46f4c747ac36afacc837313f4d7d5c917c (patch)
tree4a7e1efb806bcb26935cb149116afcc6c67f10de /src/Documentation
parentcbf4243a44855b3ac305a8d954cc7e7acef7afaf (diff)
Large additions to the Haddock API
Also improved and added more doc comments.
Diffstat (limited to 'src/Documentation')
-rw-r--r--src/Documentation/Haddock.hs54
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