aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* [haddock @ 2004-01-09 12:45:46 by simonmar]simonmar2004-01-091-5/+8
| | | | Add -optP-P to example ghc command line.
* [haddock @ 2004-01-08 10:14:24 by simonmar]simonmar2004-01-081-4/+33
| | | | Add instructions for using GHC to pre-process source for feeding to Haddock.
* [haddock @ 2003-12-29 17:16:31 by panne]panne2003-12-291-4/+4
| | | | Updated my email address
* [haddock @ 2003-11-28 12:09:58 by simonmar]simonmar2003-11-282-11/+37
| | | | | | Fix some of the problems with Haddock generating pages that are too wide. Now we only specify 'nowrap' when it is necessary to avoid a code box getting squashed up by the text to the right of it.
* [haddock @ 2003-11-28 12:08:00 by simonmar]simonmar2003-11-281-4/+5
| | | | update
* [haddock @ 2003-11-12 10:03:39 by simonmar]simonmar2003-11-121-1/+1
| | | | 2002 -> 2003
* [haddock @ 2003-11-11 12:10:44 by simonmar]simonmar2003-11-111-5/+4
| | | | | | | | | Go back to producing just the documentation section, rather than just the synopsis section, for a module with no documentation annotations. One reason is that the synopsis section tries to link each entity to its documentation on the same page. Also, the doc section anchors each entity, and it lists instances which the synopsis doesn't.
* [haddock @ 2003-11-11 09:57:25 by simonmar]simonmar2003-11-111-1/+1
| | | | Version 0.6
* [haddock @ 2003-11-10 16:15:18 by simonmar]simonmar2003-11-107-7/+7
| | | | copyright update
* [haddock @ 2003-11-10 15:15:58 by simonmar]simonmar2003-11-101-1/+1
| | | | getReExports: one error case that isn't
* [haddock @ 2003-11-10 15:10:53 by simonmar]simonmar2003-11-101-0/+37
| | | | Version 0.6 changes
* [haddock @ 2003-11-10 14:51:59 by simonmar]simonmar2003-11-101-16/+17
| | | | | Fix for getReExports: take into account names which are not visible because they are re-exported from a different package.
* [haddock @ 2003-11-10 14:41:05 by simonmar]simonmar2003-11-104-13/+48
| | | | | | | | | | | | | | | | | | | | | Re-exporting names from a different package is problematic, because we don't have access to the full documentation for the entity. Currently Haddock just ignores entities with no documentation, but this results in bogus-looking empty documentation for many of the modules in the haskell98 package. So: - the documentation will now just list the name, as a link pointing to the location of the actual documentation. - now we don't attempt to link to these re-exported entities if they are referred to by the current module. Additionally: - If there is no documentation in the current module, include just the Synopsis section (rather than just the documentation section, as it was before). This just looks nicer and was on the TODO list.
* [haddock @ 2003-11-06 16:51:50 by simonmar]simonmar2003-11-061-4/+0
| | | | update
* [haddock @ 2003-11-06 16:51:23 by simonmar]simonmar2003-11-061-2/+2
| | | | Bump to 0.6
* [haddock @ 2003-11-06 16:50:28 by simonmar]simonmar2003-11-061-3/+57
| | | | Add -k/--package docs
* [haddock @ 2003-11-06 16:48:11 by simonmar]simonmar2003-11-066-49/+102
| | | | | | | | | - 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-11-06 14:47:36 by simonmar]simonmar2003-11-061-10/+0
| | | | | Remove the 'Parent' button - it is of dubious use, and often points into thin air.
* [haddock @ 2003-11-06 12:39:46 by simonmar]simonmar2003-11-066-45/+116
| | | | | | | | | | | | | | | | | | | | | - Add definition lists, marked up like this: -- | This is a definition list: -- -- [@foo@] The description of @foo@. -- -- [@bar@] The description of @bar@. Cunningly, the [] characters are not treated specially unless a [ is found at the beginning of a paragraph, in which case the ] becomes special in the following text. - Add --use-contents and --gen-contents, along the lines of --use-index and --gen-index added yesterday. Now we can generate a combined index and contents for the whole of the hierarchical libraries, and in theory the index/contents on the system could be updated as new packages are added.
* [haddock @ 2003-11-06 10:44:52 by simonmar]simonmar2003-11-061-4/+13
| | | | | | | Include iface_reexported in the .haddock file. This unfortunately bloats the file (40% for base). If this gets to be a problem we can always apply the dictionary trick that GHC uses for squashing .hi files.
* [haddock @ 2003-11-05 17:16:04 by simonmar]simonmar2003-11-053-37/+93
| | | | | | | | | | | | | Support for generating a single unified index for several packages. --use-index=URL turns off normal index generation, causes Index links to point to URL. --gen-index generates an combined index from the specified interfaces. Currently doesn't work exactly right, because the interfaces don't contain the iface_reexported info. I'll need to fix that up.
* [haddock @ 2003-11-05 15:16:38 by simonmar]simonmar2003-11-051-9/+2
| | | | Update
* [haddock @ 2003-11-05 15:15:59 by simonmar]simonmar2003-11-052-56/+89
| | | | | | | | | | | | | | | | | | | | | | | | Index overhaul: - no more separate type/class and variable/function indices - the index now makes a distinction between different entities with the same name. One example is a type constructor with the same name as a data constructor, but another example is simply a function with the same name exported by two different modules. For example, the index entry for 'catch' now looks like this: catch 1 (Function) Control.Exception 2 (Function) GHC.Exception, Prelude, System.IO, System.IO.Error making it clear that there are two different 'catch'es, but one of them is exported by several modules. - Each index page now has the index contents (A B C ...) at the top. Please let me know if you really hate any of this.
* [haddock @ 2003-11-05 12:30:28 by simonmar]simonmar2003-11-051-6/+6
| | | | | | | | | | | - Remove the emboldening of index entries for defining locations. This isn't useful, and breaks abstractions. - If an entity is re-exported by a module but the module doesn't include documentation for that entity (perhaps because it is re-exported by 'module M'), then don't attempt to hyperlink to the documentation from the index. Instead, just list that module in the index, to indicate that the entity is exported from there.
* [haddock @ 2003-11-05 11:30:52 by simonmar]simonmar2003-11-052-7/+31
| | | | | | | | | - Suppress warnings about unknown imported modules by default. - Add a -v/--verbose flag to re-enable these warnings. The general idea is to suppress the "Warning: unknown module: Prelude" warnings which most Haddock users will see every time, and which aren't terribly useful.
* [haddock @ 2003-11-05 11:22:04 by simonmar]simonmar2003-11-051-30/+49
| | | | | Remove the last of the uses of 'trace' to emit warnings, and tidy up a couple of places where duplicate warnings were being emitted.
* [haddock @ 2003-11-03 14:24:24 by simonmar]simonmar2003-11-031-2/+8
| | | | Update TODO file.
* [haddock @ 2003-10-20 17:19:22 by sof]sof2003-10-208-55/+146
| | | | support for i-parameters + zip comprehensions
* [haddock @ 2003-10-11 08:10:44 by panne]panne2003-10-111-0/+4
| | | | Include architecture-independent files in file list
* [haddock @ 2003-09-22 10:34:38 by simonmar]simonmar2003-09-221-0/+1
| | | | Allow installing of docs.
* [haddock @ 2003-09-10 08:25:31 by simonmar]simonmar2003-09-101-4/+4
| | | | | | | Haddock's supplementary HTML bits now live in $(datadir), not $(libdir). Patch contributed by: Ian Lynagh <igloo@earth.li>.
* [haddock @ 2003-09-10 08:24:32 by simonmar]simonmar2003-09-101-1/+0
| | | | | | | Install these files in $(datadir), not $(libdir), since they're architecture independent. Patch contributed by: Ian Lynagh <igloo@earth.li>.
* [haddock @ 2003-09-10 08:23:48 by simonmar]simonmar2003-09-101-1/+1
| | | | | | Add doc subdir. Patch contributed by: Ian Lynagh <igloo@earth.li>.
* [haddock @ 2003-08-27 07:50:02 by panne]panne2003-08-273-103/+137
| | | | | | | | | | | | | | | | | * Made -D a short option for --dump-interface. * Made -m a short option for --ms-help. * Made -n a short option for --no-implicit-prelude. * Made -c a short option for --css. * Removed DocBook options from executable (they didn't do anything), but mark them as reserved in the docs. Note that the short option for DocBook output is now -S (from SGML) instead of -d. The latter is now a short option for --debug. * The order of the Options in the documentation now matches the order printed by Haddock itself. Note: Although changing the names of options is often a bad idea, I'd really like to make the options for the programs in fptools more consistent and compatible to the ones used in common GNU programs.
* [haddock @ 2003-08-26 19:20:55 by panne]panne2003-08-261-3/+4
| | | | Make it *very* clear that we terminate when given a -V/--version flag
* [haddock @ 2003-08-26 19:01:18 by panne]panne2003-08-262-19/+35
| | | | | | | | | Made option handling a bit more consistent with other tools, in particular: Every program in fptools should output * version info on stdout and terminate successfully when -V or --version * usage info on stdout and terminate successfully when -? or --help * usage info on stderr and terminate unsuccessfully when an unknown option is given.
* [haddock @ 2003-08-26 18:45:35 by panne]panne2003-08-261-1/+4
| | | | Use autoreconf instead of autoconf
* [haddock @ 2003-08-19 09:09:03 by simonmar]simonmar2003-08-192-11/+11
| | | | Further wibbles to the syntax.
* [haddock @ 2003-08-18 11:48:46 by simonmar]simonmar2003-08-182-7/+15
| | | | Fixes to the new lexer.
* [haddock @ 2003-08-18 11:48:24 by simonmar]simonmar2003-08-183-1/+13
| | | | Two bugs from Sven.
* [haddock @ 2003-08-18 10:04:47 by simonmar]simonmar2003-08-181-1/+2
| | | | Lex the 'mdo' keyword as 'do'.
* [haddock @ 2003-08-15 15:01:03 by simonmar]simonmar2003-08-151-2/+7
| | | | wibbles
* [haddock @ 2003-08-15 15:00:18 by simonmar]simonmar2003-08-151-10/+2
| | | | Update
* [haddock @ 2003-08-15 14:42:59 by simonmar]simonmar2003-08-153-158/+140
| | | | Convert the lexer to Alex, and fix a bug in the process.
* [haddock @ 2003-08-05 14:10:31 by simonmar]simonmar2003-08-051-1/+1
| | | | | | I'm not sure why, but it seems that the index entries for non-defining occurrences of entities did not have an anchor - the link just pointed to the module. This fixes it.
* [haddock @ 2003-08-04 12:59:47 by simonmar]simonmar2003-08-041-0/+6
| | | | A couple of TODOs.
* [haddock @ 2003-08-04 10:18:24 by panne]panne2003-08-041-1/+2
| | | | Don't print parentheses around one-element contexts