Dominic Steinitz writes:
I've now used the -v option and it looks like haddock can't find the html files even though they are there :-( Anyone have any ideas?
Maybe the interface description files are broken, incomplete, or incompatible with your Haddock version?
budweis:~/work/Codec$ mkdir docs budweis:~/work/Codec$ url=http://haskell.org/ghc/docs/latest/html/libraries budweis:~/work/Codec$ hdi=/usr/local/ghc-current/share/ghc-6.5/html/libraries budweis:~/work/Codec$ haddock -v -h -o docs \ -i ${url}/base,${hdi}/base/base.haddock Codec/Utils.hs budweis:~/work/Codec$
No error here, and the external links worked too.
Peter
I've downloaded http://www.haskell.org/ghc/docs/latest/html/libraries/base/base.haddock and I still get the same errors. Is this incompatible with Haddock version 0.6? [dom@tility Codec]$ haddock -V Haddock version 0.6, (c) Simon Marlow 2002 I don't think haddock gets as far as searching url=http://haskell.org/ghc/docs/latest/html/libraries because if I put url=http://gaskell.org/ghc/docs/latest/html/libraries I still get the same errors. On the other hand if I put hdi=/usr/local/ghc-current/share/ghc-6.5/html/mibraries then I get a different error message: Fail: does not exist Action: openFileEx Reason: No such file or directory File: /usr/share/doc/ghc-6.4/mibraries/base/base.haddock So it looks like haddock is finding base.haddock but for some reason ignores what is in it :-( Dominic.
On Sun, 2005-05-15 at 18:51 +0100, Dominic Steinitz wrote:
Dominic Steinitz writes:
I've downloaded http://www.haskell.org/ghc/docs/latest/html/libraries/base/base.haddock and I still get the same errors. Is this incompatible with Haddock version 0.6?
Probably so because the current ghc library documentation is generated with Haddock 0.7 (which is the current cvs version of Haddock). We're hoping it will be released officially in the not to distant future (though if you like you can use the cvs version now as it's perfectly usable). The .haddock files are in a binary format and so are almost certainly not compatible between versions (like ghc .hi files). It would be nice if haddock gave some sort of error message in this case rather than ignoring the file. Duncan
participants (2)
-
Dominic Steinitz -
Duncan Coutts