[Haskell-cafe] Cabal Install & Links to Source from Haddock Docs

Thomas Hartman tphyahoo at gmail.com
Sun Dec 21 04:11:44 EST 2008


the answer: not cabal install, just cabal.

thartman at thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3>
thartman at thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3>cabal
--help | grep -i doc
 haddock      Generate Haddock HTML documentation.
thartman at thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3>cabal
haddock --help | grep -i link
   --hyperlink-source     Hyperlink the documentation to the source code
thartman at thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3>cabal
haddock --hyperlink-source

2008/12/21 R Hayes <rfhayes at reillyhayes.com>:
>
> Is there a way I can get Haddock Docs WITH links to source (local) from
> modules installed with "cabal install xxx"?
>
> Getting the docs themselves is pretty easy by changing either
> ~/.cabal/config or using --enable-documentation.
>
> Automatically generating the source (colourised or not) and integrated links
> eludes me.
>
> -r
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list