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

Closed
bos opened this Issue May 24, 2012 · 2 comments

Projects

None yet

2 participants

@bos
Contributor
bos commented May 24, 2012

(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.

@bos
Contributor
bos commented May 24, 2012

(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.

@ttuegel
Member
ttuegel commented Feb 27, 2015

This isn't a Cabal issue.

@ttuegel ttuegel closed this Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment