[Haddock] Regenerating Haddock docs on Hackage

Ross Paterson ross at soi.city.ac.uk
Mon Sep 6 12:04:05 EDT 2010


On Mon, Sep 06, 2010 at 04:25:16PM +0100, Thomas Schilling wrote:
> Ross, do you know why the frames view is broken on Hackage?  This is
> the case for both old and newly generated content.  For example:
> 
>     <http://hackage.haskell.org/packages/archive/binary/0.5.0.2/doc/html/frames.html>
> 
> The top left frame should contain a list of the modules in the current
> package.  It's currently a 404.

I use these options:

  setup configure --ghc --user --haddock-option=--use-contents=/package/<pkg> --haddock-option=--built-in-themes
  setup haddock --html-location='/packages/archive/$pkg/$version/doc/html' --hyperlink-source

The use-contents option makes the Contents link point back to the package
page, but it also turns off creation of index.html, which is used by the
frames view.



More information about the Haddock mailing list