aboutsummaryrefslogtreecommitdiff
path: root/html
Commit message (Collapse)AuthorAgeFilesLines
* [haddock @ 2002-05-27 12:30:37 by simonmar]simonmar2002-05-271-0/+5
| | | | | | | | | - Put function arguments *before* the doc for the function, as suggested by Sven Panne. This looks nicer when the function documentation is long. - Switch to using bold for binders at the definition site, and use underline for keywords. This makes the binder stand out more.
* [haddock @ 2002-05-21 10:28:33 by simonmar]simonmar2002-05-211-54/+85
| | | | Rearrange a bit, and add support for tabular datatype rendering
* [haddock @ 2002-05-15 13:03:01 by simonmar]simonmar2002-05-151-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reworking of the internals to support documenting function arguments (the Most Wanted new feature by the punters). The old method of keeping parsed documentation in a Name -> Doc mapping wasn't going to cut it for anntations on type components, where there's no name to attach the documentation to, so I've moved to storing all the documentation in the abstract syntax. Previously some of the documentation was left in the abstract syntax by the parser, but was later extracted into the mapping. In order to avoid having to parameterise the abstract syntax over the type of documentation stored in it, we have to parse the documentation at the same time as we parse the Haskell source (well, I suppose we could store 'Either String Doc' in the HsSyn, but that's clunky). One upshot is that documentation is now parsed eagerly, and documentation parse errors are fatal (but have better line numbers in the error message). The new story simplifies matters for the code that processes the source modules, because we don't have to maintain the extra Name->Doc mapping, and it should improve efficiency a little too. New features: - Function arguments and return values can now have doc annotations. - If you refer to a qualified name in a doc string, eg. 'IO.putStr', then Haddock will emit a hyperlink even if the identifier is not in scope, so you don't have to make sure everything referred to from the documentation is imported. - several bugs & minor infelicities fixed.
* [haddock @ 2002-04-29 15:56:39 by simonmar]simonmar2002-04-291-0/+7
| | | | Install the auxilliary bits
* [haddock @ 2002-04-29 15:37:32 by simonmar]simonmar2002-04-291-1/+1
| | | | syntax fix
* [haddock @ 2002-04-26 13:15:02 by simonmar]simonmar2002-04-261-1/+15
| | | | | | Move the explicit formatting of the little table for the stability/portability/maintainer info from the HTML into the CSS, and remove the explicit table size (just right-align it).
* [haddock @ 2002-04-25 14:20:12 by simonmar]simonmar2002-04-251-0/+0
| | | | Add the little lambda icon
* [haddock @ 2002-04-10 10:50:06 by simonmar]simonmar2002-04-101-2/+2
| | | | Use explicit 'px' suffix on pixel sizes; IE seems to prefer them
* [haddock @ 2002-04-05 16:32:19 by simonmar]simonmar2002-04-051-0/+5
| | | | | Add width property to the title, and add TD.children for the module contents page.
* [haddock @ 2002-04-05 14:18:41 by simonmar]simonmar2002-04-051-2/+2
| | | | remove underlines on visited links
* [haddock @ 2002-04-04 16:23:43 by simonmar]simonmar2002-04-041-0/+111
This is Haddock, my stab at a Haskell documentation tool. It's not quite ready for release yet, but I'm putting it in the repository so others can take a look. It uses a locally modified version of the hssource parser, extended with support for GHC extensions and documentation annotations.