[Haskell-cafe] Re: How to get Haddock to generate docs for a directory tree of modules

Simon Marlow simonmarhaskell at gmail.com
Mon Apr 24 06:14:02 EDT 2006


Brian Hulley wrote:

> I've been looking at the docs for Haddock at 
> http://haskell.org/haddock/haddock-html-0.7/index.html but I can't seem 
> to find any option to recursively traverse a directory generating 
> hyperlinked docs for all modules anywhere in the directory or any sub 
> directory etc.
> 
> Is there a simple undocumented flag I'm missing?

Haddock doesn't do this on its own, but Cabal can do it (./setup 
haddock).  You do have to specify all the modules in the .cabal file 
though, so it's not really "traversing a directory".

Cheers,
	Simon


More information about the Haskell-Cafe mailing list