[Haskell-cafe] Problem with Hyperlinking Haddock-documentation

Henning Thielemann lemming at henning-thielemann.de
Wed Jan 26 15:49:23 EST 2005

On Wed, 26 Jan 2005, Daniel Fischer wrote:

> Maybe somebody can enlighten me.
> When I run haddock and put the html files e.g. in directory ~/bar/foo, any
> references to things defined in the Prelude or the libraries are linked to,
> say ~/bar/foo/Prelude.html#t%3AFractional, which of course does not exist,
> because the documentation for the Prelude is elsewhere.
> How can I tell haddock to link such references to where Prelude.html actually
> is?

I add an option like

-i /usr/local/share/ghc-6.2/html/libraries/base/base.haddock

or more of them, if I need more libraries. Just run
 locate .haddock
in a shell to find out what haddock files are available on your machine.

More information about the Haskell-Cafe mailing list