HackageDB Question

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've glanced through the source code posted at http://darcs.haskell.org/hackage-scripts/, but I am having trouble finding the code which generates the documentation. Thanks! Greg

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
participants (2)
-
Gregory Crosswhite
-
Ross Paterson