
26 Jan
2005
26 Jan
'05
3:49 p.m.
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.