Another way of doing this is by using Nix package manager. This section of the manual explains how to create a shell environment with a set of specified packages installed that includes a unified haddock documentation directory.

On Tue, Aug 29, 2017 at 5:32 PM Francesco Ariis <fa-ml@ariis.it> wrote:
On Tue, Aug 29, 2017 at 10:06:27PM +0100, John Beattie wrote:
> Hi,
>
> Suppose I download a package and install it. I would like to be able to have
> the html documentation for that package and I would like it to be integrated
> with the local doc tree in the haskell platform.
>
> Is this a recognised usecase and is there a recommended way to do that?
>
> My first thought was to use haddock but I haven't managed to work out if there
> is a combination of haddock options which would get me there.
>
> As an alternative, I was wondering about cloning the GHC platform source and
> pasting the new library into the source tree alongside the other libraries and
> building the documentation.  I might have to tweak a makefile or somesuch but
> would that work?
>
> Thanks,
> John Beattie

Hello John,

ah, my time to spam!

    http://ariis.it/static/articles/no-docs-hackage/page.html

I bootstrap cabal (HP minimal?) and it works as written. I did not test
it with HP full but I don't think it should have problems with that.

Let me know if it does the trick
-F

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.