On 13-02-21 05:18 AM, Doaitse Swierstra wrote:
I ran into the problem that for the packages which I install using

cabal install

The generated html does not contain links to the sources. This issue was raised 
before in:

http://stackoverflow.com/questions/1587635/haddock-for-cabal-installed-modules

I have been looking into the documentation available, but could not find a way 
to set this e.g. as a default in some .haddock file.

(I infer that you already have "documentation: True" in your $HOME/.cabal/config. Therefore, I will omit --enable-documentation.)

Since cabal-install 0.14: cabal install --haddock-hyperlink-source

Requires hscolour.

Unfortunately, this flag has no corresponding line in $HOME/.cabal/config.

There are several related --haddock-thisthat flags. See cabal install --help for more. (They are conveniently near the end.)

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to