Problem with Hyperlinking Haddock-documentation

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? Please be aware of the fact that I know ///very/// little about html, hyperlinks and such, so be detailed and don't presuppose much. Thanks, Daniel

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.

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.

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
The problem still stands, the link is to ~/bar/foo/Prelude.html, not to /usr/local/.... where Prelude.html is. Does anybody know what to do? Daniel
participants (2)
-
Daniel Fischer
-
Henning Thielemann