Hello. What's the current state of Haddock support in Cabal? I checked that "runhaskell Setup.hs haddock" works fine, but how can I reference the documentation of (cabalized) package Y from the docs of package X? - Last I asked this, the answer was "write your hooks in Setup.hs" but I was hoping that meanwhile I could just put the info in the .cabal file. -- -- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 -- ---- http://www.imn.htwk-leipzig.de/~waldmann/ -------
On Thu, 2006-10-19 at 12:18 +0200, Johannes Waldmann wrote:
Hello. What's the current state of Haddock support in Cabal? I checked that "runhaskell Setup.hs haddock" works fine, but how can I reference the documentation of (cabalized) package Y from the docs of package X? - Last I asked this, the answer was "write your hooks in Setup.hs" but I was hoping that meanwhile I could just put the info in the .cabal file.
This should just work. Cabal invokes haddock with --use-package=Y and then haddock use ghc-pkg to look up where Y's .haddock file and html files are. Duncan
participants (2)
-
Duncan Coutts -
Johannes Waldmann