aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [haddock @ 2004-08-09 11:55:05 by simonmar]simonmar2004-08-099-131/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-09 11:03:04 by simonmar]simonmar2004-08-091-0/+69
| | | | | | Add FormatVersion Patch submitted by: George Russell <ger@informatik.uni-bremen.de>
* [haddock @ 2004-08-03 21:07:58 by panne]panne2004-08-031-6/+7
| | | | Improved spacing of dynamic module tree
* [haddock @ 2004-08-03 19:45:30 by sof]sof2004-08-031-1/+1
| | | | ffi wibble
* [haddock @ 2004-08-03 19:45:11 by sof]sof2004-08-032-1/+7
| | | | make it compile with <= ghc-6.1
* [haddock @ 2004-08-03 19:44:03 by panne]panne2004-08-031-14/+22
| | | | | | | | | | Pacify W3C validator: * Added document encoding (currently UTF-8, not sure if this is completely correct) * Fixed syntax of `id' attributes * Added necessary `alt' attribute for +/- images Small layout improvement: * Added space after +/- images (still not perfect, but better than before)
* [haddock @ 2004-08-03 19:35:59 by panne]panne2004-08-031-4/+2
| | | | Fixed spelling of "http-equiv" attribute
* [haddock @ 2004-08-02 21:16:02 by panne]panne2004-08-021-53/+53
| | | | Removed WinDoze CRs
* [haddock @ 2004-08-02 21:12:25 by panne]panne2004-08-025-23/+27
| | | | Use pathJoin instead of low-level list-based manipulation for FilePaths
* [haddock @ 2004-08-02 20:32:28 by panne]panne2004-08-022-24/+8
| | | | Nuked dead code
* [haddock @ 2004-08-02 20:31:13 by panne]panne2004-08-021-1/+2
| | | | Warning police
* [haddock @ 2004-08-02 20:02:29 by panne]panne2004-08-021-1/+1
| | | | | Fixed -o/--odir handling. Generating the output, especially the directory handling, is getting a bit convoluted nowadays...
* [haddock @ 2004-08-02 16:25:53 by krasimir]krasimir2004-08-023-9/+19
| | | | | 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-016-54/+63
| | | | fix some bugs. Now I have got the entire libraries documentation in HtmlHelp 2.0 format.
* [haddock @ 2004-08-01 15:14:02 by krasimir]krasimir2004-08-011-0/+3
| | | | add missing imports
* [haddock @ 2004-07-31 20:35:21 by krasimir]krasimir2004-07-312-4/+82
| | | | Added support for DevHelp
* [haddock @ 2004-07-31 14:53:28 by krasimir]krasimir2004-07-312-15/+73
| | | | HtmlHelp 1.x
* [haddock @ 2004-07-31 14:52:55 by krasimir]krasimir2004-07-311-1/+1
| | | | fix
* [haddock @ 2004-07-31 13:10:20 by krasimir]krasimir2004-07-311-4/+4
| | | | Make DHtmlTree compatible with Mozila browser
* [haddock @ 2004-07-31 12:04:37 by krasimir]krasimir2004-07-312-4/+4
| | | | | make the DHtmlTree in contents page more portable. The +/- buttons are replaced with new images which looks more beatiful.
* [haddock @ 2004-07-30 22:15:45 by krasimir]krasimir2004-07-304-85/+157
| | | | | | | | more stuffs - support for separated compilation of packages - the contents page now uses DHTML TreeView - fixed copyFile bug
* [haddock @ 2004-07-28 22:12:09 by krasimir]krasimir2004-07-283-14/+15
| | | | | bugfix. Move contentsHtmlFile, indexHtmlFile and subIndexHtmlFile functions to HaddockUtil.hs module to make them accessible from HaddockHH2.hs
* [haddock @ 2004-07-27 23:05:21 by krasimir]krasimir2004-07-271-2/+5
| | | | Add jsFile, plusFile and minusFile to the file list
* [haddock @ 2004-07-27 23:02:36 by krasimir]krasimir2004-07-271-1/+1
| | | | escape names in the index
* [haddock @ 2004-07-27 22:58:23 by krasimir]krasimir2004-07-276-85/+258
| | | | Add basic support for Microsoft HTML Help 2.0
* [haddock @ 2004-07-22 08:54:06 by simonmar]simonmar2004-07-221-1/+1
| | | | | | | Add single quote to $ident, so you can say eg. 'foldl'' to refer to foldl' (the longest match rule is our friend). Bug reported by Adrian Hey <ahey@iee.org>
* [haddock @ 2004-07-13 17:59:28 by panne]panne2004-07-131-2/+7
| | | | | A quote is a valid part of a Haskell identifier, but it would interfere with an ECMA script string delimiter, so escape it there.
* [haddock @ 2004-07-01 11:08:57 by simonmar]simonmar2004-07-011-3/+4
| | | | | | Update to the +/- buttons: use a resized image rather than a <button>. Still seeing some strange effects in Konqueror, so might need to use a fixed-size image instead.
* [haddock @ 2004-05-28 20:17:55 by mthomas]mthomas2004-05-282-1/+44
| | | | Windows: search for templates in executable directory. Unix: Haddock tries cwd first rather than error if no -l arg.
* [haddock @ 2004-05-25 10:41:46 by simonmar]simonmar2004-05-251-0/+4
| | | | | Complain if -h is used with --gen-index or --gen-contents, because it'll overwrite the new index/contents.
* [haddock @ 2004-05-21 06:38:14 by mthomas]mthomas2004-05-211-1/+9
| | | | Windows exe extensions (bin remains for Unix).
* [haddock @ 2004-05-19 13:10:23 by ross]ross2004-05-191-41/+46
| | | | | | | Make the handling of "deriving" slightly smarter, by ignoring data constructor arguments that are identical to the lhs. Now handles things like data Tree a = Leaf a | Branch (Tree a) (Tree a) deriving ...
* [haddock @ 2004-05-09 14:39:53 by panne]panne2004-05-091-2/+2
| | | | | | Fix the fix for single-line comment syntax, ------------------------------------------- is now a valid comment line again.
* [haddock @ 2004-04-20 13:08:04 by simonmar]simonmar2004-04-201-2/+2
| | | | | | Allow a 'type' declaration to include documentation comments. These will be ignored by Haddock, but at least one user (Johannes Waldmann) finds this feature useful, and it's easy to add.
* [haddock @ 2004-04-14 10:03:25 by simonmar]simonmar2004-04-141-2/+2
| | | | fix for single-line comment syntax
* [haddock @ 2004-03-27 12:52:34 by panne]panne2004-03-271-1/+1
| | | | Add a doctype for the contents page, too.
* [haddock @ 2004-03-27 10:32:20 by panne]panne2004-03-271-1/+1
| | | | "type" is a required attribute of the "script" element
* [haddock @ 2004-03-25 16:00:36 by simonmar]simonmar2004-03-252-17/+29
| | | | Remove all that indentation in the generated HTML to keep the file sizes down.
* [haddock @ 2004-03-25 15:45:10 by simonmar]simonmar2004-03-251-2/+2
| | | | Eliminate some unnecessary spaces in the HTML rendering
* [haddock @ 2004-03-25 15:17:23 by simonmar]simonmar2004-03-252-18/+51
| | | | | | | | | | Add support for collaspible parts of the page, with a +/- button and a bit of JavaScript. Make the instances collapsible, and collapse them by default. This makes documentation with long lists of instances (eg. the Prelude) much easier to read. Maybe we should give other documentation sections the same treatment.
* [haddock @ 2004-03-25 10:29:56 by simonmar]simonmar2004-03-251-1/+10
| | | | | | If a name is imported from two places, one hidden and one not, choose the unhidden one to link to. Also, when there's only a hidden module to link to, don't try linking to it.
* [haddock @ 2004-03-25 10:01:42 by simonmar]simonmar2004-03-251-2/+1
| | | | Fix duplicate instance bug
* [haddock @ 2004-03-25 09:35:14 by simonmar]simonmar2004-03-251-2/+3
| | | | restrictTo: fix for restricting a newtype with a record field.
* [haddock @ 2004-03-24 10:12:08 by simonmar]simonmar2004-03-241-4/+16
| | | | Make restrictCons take into account record field names too (removing a ToDo).
* [haddock @ 2004-03-24 10:10:50 by simonmar]simonmar2004-03-241-19/+13
| | | | | | | | | | mkExportItems fix & simplification: we should be looking at the actual exported names (calculated earlier) to figure out which subordinates of a declaration are exported. This means that if you export a record, and name its fields separately in the export list, the fields will still be visible in the documentation for the constructor.
* [haddock @ 2004-03-22 14:09:03 by simonmar]simonmar2004-03-221-12/+12
| | | | | | | | getReExports was bogus: we should really look in the import_env to find the documentation for an entity which we are re-exporting without documentation. Suggested by: Ross Paterson (patch modified by me).
* [haddock @ 2004-02-10 18:38:45 by panne]panne2004-02-101-4/+11
| | | | Make Haddock link with the latest relocated monad transformer package
* [haddock @ 2004-02-10 12:10:08 by simonmar]simonmar2004-02-101-1/+11
| | | | | Fix for previous commit: I now realise why the whitespace was stripped from the beginning of the line. Work around it.
* [haddock @ 2004-02-10 11:51:16 by simonmar]simonmar2004-02-101-1/+1
| | | | Don't throw away whitespace at the beginning of a line (experimental fix).
* [haddock @ 2004-02-03 11:02:03 by simonmar]simonmar2004-02-031-1/+1
| | | | Fix bug in index generation