[Haskell-cafe] Hyperlinked source docs

Matthew Pickering matthewtpickering at gmail.com
Wed Dec 16 14:19:02 UTC 2015

Here is how:

1. Build haddock from source (https://github.com/haskell/haddock)
2. cabal haddock --haddock-options="--hyperlinked-source" (if the new
version is in your path, otherwise use --with-haddock=)
3. Manually upload the docs using a script (like this


On Wed, Dec 16, 2015 at 1:55 PM, Johannes Waldmann
<johannes.waldmann at htwk-leipzig.de> wrote:
> As I said, I admire hyperlinked sources
> in the new "base" documentation
> https://hackage.haskell.org/package/base-
> and I want to know how I can produce such documents.
> What is the magic haddock/hscolour invocation?
> (I actually use standalone-haddock.)
> On hackage, not every package gets the special treatment?
> (In fact, only "base" does?)
> - J.W.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list