Skip to content


Subversion checkout URL

You can clone with
Download ZIP


hackage: produce haddock documentation for executable only projects as well #829

bos opened this Issue · 2 comments

2 participants


(Imported from Trac #839, reported by guest on 2011-04-28)

Hackage currently only contains haddock documentation for "libraries".

However, it'd be really cool to be able to see the source code of "executable" only projects as well. If the project is not haddock'ized, then a simple hscolor'ed html source base would be fine as well (like in GitHub?).

One of the more common use cases of Hackage is to look at other people's code, even for projects that you wouldn't download. This can go along way in making that much more pleasurable.

Alternatively, the user can specify a cabal flag to indicate if he wants browsable source code to be produced in case of executable only projects.


(Imported comment by ross on 2011-04-28)

Hackage only displays documentation for exposed modules. But you can certainly run haddock locally with the appropriate flags.


This isn't a Cabal issue.

@ttuegel ttuegel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.