[Haskell-cafe] Problem with Hyperlinking Haddock-documentation

Daniel Fischer daniel.is.fischer at web.de
Wed Jan 26 16:18:48 EST 2005


Am Mittwoch, 26. Januar 2005 21:49 schrieben Sie:
> 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

I have this, and the links are created, but they don't point there, they refer 
to the directory, I put my documentations in.
>
> 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.

bash: locate :command not found

what now?

Trotzdem danke.



More information about the Haskell-Cafe mailing list