| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
As a temporary hack/workaround for a bug in GHC's simplifier, don't
pass Happy the -c option for generating the parsers in this
subdir. Furthermore, disable -O for HaddocParse, too.
|
|
|
|
| |
Fix for 'make install'
|
|
|
|
| |
remove a trace
|
|
|
|
| |
Allow '-- |' style annotations on constructors and record fields.
|
|
|
|
| |
bugfix for declBinders on a NewTypeDecl
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
- support for fundeps (partially contributed by Brett Letner - thanks
Brett).
- make it build with GHC 4.08.2
|
|
|
|
| |
Include $(GHC_HAPPY_OPTS) when compiling HsParser
|
|
|
|
| |
Package util reqd. to compile with 4.08.2
|
|
|
|
|
|
|
| |
- Add support for named chunks of documentation which can be
referenced from the export list.
- Copy the icon from $libdir to the destination in HTML mode.
|
|
|
|
| |
Handle gcons in export lists (a common extension).
|
|
|
|
|
|
|
| |
Grok the kind of module headers we use in fptools/libraries, and pass
the "portability", "stability", and "maintainer" strings through into
the generated HTML. If the module header doesn't match the pattern,
then we don't include the info in the HTML.
|
|
|
|
|
| |
Stop slurping comment lines when we see a row of dashes longer than
length 2: these are useful as separators.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- copy haddock.css into the same place as the generated HTML
- new option: --css <file> specifies the style sheet to use
- new option: -o <dir> specifies the directory in which to
generate the output.
- because Haddock now needs to know where to find its default stylesheet,
we have to have a wrapper script and do the haddock-inplace thing
(Makefile code copied largely from fptools/happy).
|
|
|
|
|
|
| |
Parse errors in doc strings are now reported as warnings rather that
causing the whole thing to fall over. It still needs cleaning up (the
warning is emitted with trace) but this will do for the time being.
|
|
|
|
|
| |
Now we understand (or at least don't barf on) type signatures in
patterns such as you might find when scoped type variables are in use.
|
|
|
|
|
| |
Generate a little table of contents at the top of the module doc (only
if the module actually contains some section headings, though).
|
|
|
|
| |
Sort the module tree
|
|
|
|
|
|
|
|
|
| |
Lots of changes, including:
- add index support to the HTML backend
- clean up the renamer, put it into a monad
- propogate unresolved names to the top level and report them in a nicer way
- various bugfixes
|
|
|
|
|
| |
Not sure why I made the constructor name for a record declaration into
a TyCls name, but change it back into a Var name anyhow.
|
|
|
|
|
| |
Lex URLs as a single token to avoid having to escape special
characters inside the URL string.
|
|
|
|
|
|
|
|
| |
- add the <...> syntax for marking up URLs in documentation
- Make the output for data & class declarations more compact when
there aren't any documentation annotations on the individual
methods or constructors respectively.
|
|
|
|
| |
Add '-- /' as a synonym for '-- |', for compatibility with IDoc.
|
|
|
|
|
| |
- Add our own versions of Html & BlockTable for the time being.
- Add support for generating an index to the HTML backend
|
|
|
|
| |
Fix a problem with exports of the form T(..).
|
|
|
|
|
|
|
|
| |
- Update to generate more correct HTML.
- Use our own non-overloaded table combinators, as the overloaded
versions were giving me a headache. The improved type safety
caught several errors in the HTML generation.
|
|
|
|
| |
Fix the anchor for a class declaration
|
|
|
|
|
|
|
|
|
|
|
| |
Remap names in the exported declarations to be "closer" to the current
module. eg. if an exported declaration mentions a type 'T' which is
imported from module A then re-exported from the current module, then
links from the type or indeed the documentation will point to the
current module rather than module A.
This is to support better hiding: module A won't be referred to in the
generated output.
|
|
|
|
| |
forgot one file
|
|
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.
|