[Haskell-cafe] Hyperlinked source docs

Dimitri DeFigueiredo defigueiredo at ucdavis.edu
Wed Dec 16 14:55:09 UTC 2015


This is indeed beautiful. Thank you for the information on how to do it! :-)

Dimitri

On 12/16/15 12:19 PM, Matthew Pickering 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



More information about the Haskell-Cafe mailing list