Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Ryan Newton <rrnewton <at> gmail.com>
Subject: Re: Multi-site haddock documentation with proper links?
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Wednesday 25th April 2012 00:51:18 UTC (over 4 years ago)
This is sort of related to ticket #130:

   http://trac.haskell.org/haddock/ticket/130

And this one seems to hint at a solution to the problem in the more
extensive syntax for --read-interface.

  http://hackage.haskell.org/trac/ghc/ticket/3810

(My local haddock-2.10.0 --help doesn't mention this.  But I'll give it a
whirl.)



On Tue, Apr 24, 2012 at 8:34 PM, Ryan Newton  wrote:

> Hello cafe,
>
> For various reasons, some packages don't build documentation on hackage:
>
>    http://hackage.haskell.org/package/accelerate
>
> Therefore I want to locally install documentation for a set of packages
> like this and host them on a separate website.  I want all of these ~ten
> packages' haddock documentation to be properly interlinked with
eachother,
> but also to link to Hackage for types and classes defined in other
modules.
>
> Is this possible?  Hackage haddocks are all interlinked, but that is
> simply because hackage is one giant local install, right?
>
> If it's not possible (and it seems not) do any haddock devs have pointers
> on how to implement this?
>
> Thanks,
>   -Ryan
>
> P.S.  Someone recommended to me the following simple hack -- just use sed
> to rewrite the links after haddock generates the html.  I think I'll do
> that for the time being unless someone has a better suggestion.
>
 
CD: 11ms