cabal, haddock, and --hyperlink-source
david.waern at gmail.com
Sun Dec 9 13:11:56 EST 2007
2007/12/9, Duncan Coutts <duncan.coutts at worc.ox.ac.uk>:
> On Sun, 2007-12-09 at 12:05 +0100, David Waern wrote:
> > > I'm getting an error message with cabal's haddock command's
> > > --hyperlink-source option. The message (below) says "haddock
> > > --hyperlink-source requires Haddock version 0.8 or later", while "haddock
> > > --version" says that I have version 2.0. I have the latest cabal and
> > > hscolour from hackage and the latest haddock from darcs. I'm using cygwin
> > > on WinXP.
> > The problem is that at the time of writing the Cabal support for Haddock
> > 2.0, Haddock didn't support links to source code (of course, the error
> > message is still wrong). Now it does however, since I've merged over
> > everything except hoogle support from the old Haddock. So, Cabal should be
> > updated to support --hyperlink-source also for Haddock 2.
> > Thanks for noticing this.
> Could someone open a bug about this so we don't forget please.
Here's a patch instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20565 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/libraries/attachments/20071209/4ea29e6a/cabal-hyperlink-source-for-haddock-2-0001.bin
More information about the Libraries