aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH.hs
Commit message (Collapse)AuthorAgeFilesLines
* [haddock @ 2005-02-02 16:23:00 by simonmar]simonmar2005-02-021-5/+8
| | | | | | | | | | | | | | | | | | | | | | Revamp the linking strategy in Haddock. Now name resolution is done in two phases: - first resolve everything to original names, like a Haskell compiler would. - then, figure out the "home" location for every entity, and point all the links to there. The home location is the lowest non-hidden module in the import hierarchy that documents the entity. If there are multiple candidates, one is chosen at random. Also: - Haddock should not generate any HTML with dangling links any more. Unlinked references are just rendered as plain text. - Error reporting is better: if we can't find a link destination for an entity reference, we now emit a warning.
* [haddock @ 2005-01-16 15:41:21 by panne]panne2005-01-161-5/+2
| | | | Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
* [haddock @ 2005-01-16 14:37:10 by panne]panne2005-01-161-9/+6
| | | | Refactored Text.PrettyPrint legacy hell into a separate module.
* [haddock @ 2005-01-15 18:44:45 by panne]panne2005-01-151-7/+6
| | | | | | | | | | Make Haddock compile again after the recent base package changed. The Map/Set legacy hell has been factored out, so that all modules can simply use the new non-deprecated interfaces. Probably a lot of things can be improved by a little bit of Map/Set/List algebra, this can be done later if needed. Small note: Currently the list of instances in HTML code is reversed. This will hopefully be fixed later.
* [haddock @ 2004-08-09 11:55:05 by simonmar]simonmar2004-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for a short description for each module, which is included in the contents. The short description should be given in a "Description: " field of the header. Included in this patch are changes that make the format of the header a little more flexible. From the comments: -- all fields in the header are optional and have the form -- -- [spaces1][field name][spaces] ":" -- [text]"\n" ([spaces2][space][text]"\n" | [spaces]"\n")* -- where each [spaces2] should have [spaces1] as a prefix. -- -- Thus for the key "Description", -- -- > Description : this is a -- > rather long -- > -- > description -- > -- > The module comment starts here -- -- the value will be "this is a .. description" and the rest will begin -- at "The module comment". The header fields must be in the following order: Module, Description, Copyright, License, Maintainer, Stability, Portability. Patches submitted by: George Russell <ger@informatik.uni-bremen.de>, with a few small changes be me, mostly to merge with other recent changes. ToDo: document the module header.
* [haddock @ 2004-08-02 21:12:25 by panne]panne2004-08-021-4/+4
| | | | Use pathJoin instead of low-level list-based manipulation for FilePaths
* [haddock @ 2004-08-02 16:25:53 by krasimir]krasimir2004-08-021-4/+12
| | | | | Add root node to the table of contents. All modules in tree are not children of the root
* [haddock @ 2004-08-01 19:52:06 by krasimir]krasimir2004-08-011-10/+19
| | | | fix some bugs. Now I have got the entire libraries documentation in HtmlHelp 2.0 format.
* [haddock @ 2004-07-31 14:53:28 by krasimir]krasimir2004-07-311-13/+69
| | | | HtmlHelp 1.x
* [haddock @ 2004-07-30 22:15:45 by krasimir]krasimir2004-07-301-4/+3
| | | | | | | | more stuffs - support for separated compilation of packages - the contents page now uses DHTML TreeView - fixed copyFile bug
* [haddock @ 2004-07-27 22:58:23 by krasimir]krasimir2004-07-271-12/+9
| | | | Add basic support for Microsoft HTML Help 2.0
* [haddock @ 2003-11-06 16:48:11 by simonmar]simonmar2003-11-061-3/+3
| | | | | | | | | - Include the OptHide setting in the interface, so we don't include hidden modules in the combined index/contents. - Add a -k/--package flag to set the package name for the current set of modules. The package name for each module is now shown in the right-hand column of the contents, in a combined contents page.
* [haddock @ 2003-07-28 14:32:42 by simonmar]simonmar2003-07-281-0/+7
| | | | Update to avoid using hslibs with GHC >= 5.04
* [haddock @ 2002-07-24 09:42:17 by simonmar]simonmar2002-07-241-7/+9
| | | | Patches to quieten ghc -Wall, from those nice folks at Galois.
* [haddock @ 2002-07-10 10:26:11 by simonmar]simonmar2002-07-101-94/+94
| | | | | Tweaks to the MS Help support: the extra files are now only generated if you ask for them (--ms-help).
* [haddock @ 2002-07-09 16:33:31 by krasimir]krasimir2002-07-091-0/+94
'Microsoft HTML Help' support