For 1.0: * parse module headers, augment Interface with info from header * Short contents at the top of each module? * IDoc compatibility, as far as possible * named chunks of documentation? * sort the names in the module tree * Handle parse errors better in doc strings * Do the unlitting/CPPing from Haddock itself ----------------------------------------------------------------------------- Post 1.0: * pay attention to import specs! * instances: list relevant instances in the documentation for classes and datatypes. * include file revision info in module headers * handle scoped type variables in the parser * Allow fully hiding modules from the output * Add a link to the defining location of a re-exported entity * fixities * we don't deal with records properly - exporting record selectors etc. * doc strings for: function arguments * remove the s/r conflicts I added to the grammar * check handling of special types ([], (), (,) etc.) * Horizontal lines? * enhance the doc string parser: * @...@ for monospaced text * an apostrophe inside a string shouldn't be considered to be a quote * Do proper dependency analysis rather than relying on laziness to sort it out. * clean up the layout: don't use table cellspacing, use CSS instead