Building haddock docs with Cabal from .lhs sources

Adrian Hey ahey at iee.org
Wed Sep 19 07:13:20 EDT 2007


Alistair Bayley wrote:
> There are two problems:
>   1. the library docs bundled with GHC are actually under
> c:\ghc\ghc-6.6.1\doc\html\libraries, not
> c:\ghc\ghc-6.6.1\html\libraries. ghc-pjg reports them as in
> $topdir\html\libraries\base (etc), where I assume $topdir is
> c:\ghc\ghc-6.6.1. I've copied them up to
> c:\ghc\ghc-6.6.1\html\libraries to try to keep haddock happy, but as
> you can see...
> 
>   2. even with the base.haddock etc files in the right places, haddock
> still doesn't find them. !?

This problem seems to have been fixed with the 6.8 release candidate.
Unfortunately there still seems to be another, in that the resulting
links are broken (no "file://" prefix). I don't know which bit of
s/w is at fault here though.

Regards
--
Adrian Hey






More information about the Libraries mailing list