[Haskell-cafe] HackageDB Question

Ross Paterson ross at soi.city.ac.uk
Sat Jan 9 17:14:03 EST 2010


On Sat, Jan 09, 2010 at 01:44:03PM -0800, Gregory Crosswhite wrote:
> How does HackageDB generate the documentation for uploaded packages?  Specifically, if I am using my own build system rather than Cabal, then what do I need to do (e.g., what interface do I need to supply) for HackageDB to correctly generate the documentation?

I assume you're using Cabal, but you mean a custom Setup.hs.

It relies on your Setup.hs doing the same as the simple one
(as documented in the Cabal User's Guide) for

        setup configure --haddock-option=...
        setup haddock --html-location=... --hyperlink-source
        setup haddock --hoogle


More information about the Haskell-Cafe mailing list