[Haskell-cafe] Hyperlinked source docs

Corentin Dupont corentin.dupont at gmail.com
Wed Dec 16 15:47:12 UTC 2015


That's really great! That's a long awaited feature on my side.
Do you plan to upload this version of haddock on hackage?

On Wed, Dec 16, 2015 at 3:19 PM, Matthew Pickering <
matthewtpickering at gmail.com> wrote:

> 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
> https://github.com/ekmett/lens/blob/master/scripts/hackage-docs.sh)
>
> Matt
>
> 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-4.8.1.0/docs/
> >
> > 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
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151216/5747dc38/attachment.html>


More information about the Haskell-Cafe mailing list