<div dir="ltr">Another way of doing this is by using Nix package manager. <a href="https://nixos.org/nixpkgs/manual/#how-to-install-a-compiler-with-libraries-hoogle-and-documentation-indexes">This section</a> of the manual explains how to create a shell environment with a set of specified packages installed that includes a unified haddock documentation directory.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 29, 2017 at 5:32 PM Francesco Ariis <<a href="mailto:fa-ml@ariis.it">fa-ml@ariis.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Aug 29, 2017 at 10:06:27PM +0100, John Beattie wrote:<br>
> Hi,<br>
><br>
> Suppose I download a package and install it. I would like to be able to have<br>
> the html documentation for that package and I would like it to be integrated<br>
> with the local doc tree in the haskell platform.<br>
><br>
> Is this a recognised usecase and is there a recommended way to do that?<br>
><br>
> My first thought was to use haddock but I haven't managed to work out if there<br>
> is a combination of haddock options which would get me there.<br>
><br>
> As an alternative, I was wondering about cloning the GHC platform source and<br>
> pasting the new library into the source tree alongside the other libraries and<br>
> building the documentation. I might have to tweak a makefile or somesuch but<br>
> would that work?<br>
><br>
> Thanks,<br>
> John Beattie<br>
<br>
Hello John,<br>
<br>
ah, my time to spam!<br>
<br>
<a href="http://ariis.it/static/articles/no-docs-hackage/page.html" rel="noreferrer" target="_blank">http://ariis.it/static/articles/no-docs-hackage/page.html</a><br>
<br>
I bootstrap cabal (HP minimal?) and it works as written. I did not test<br>
it with HP full but I don't think it should have problems with that.<br>
<br>
Let me know if it does the trick<br>
-F<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>