
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.

I think the hyperlinked docs for base were uploaded manually. Hackage is probably still using an earlier version of haddock. Can't help with how to use it though unfortunately. - Adam On Wed, Dec 16, 2015 at 2:55 PM, Johannes Waldmann < johannes.waldmann@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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

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@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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (5)
-
Adam Bergmark
-
Corentin Dupont
-
Dimitri DeFigueiredo
-
Johannes Waldmann
-
Matthew Pickering