Cabal hadddock-project command

A future release of cabal and haddock will let us build documentation for cabal.project. A few weeks ago, when the PR was still in review, I wrote a blog post about it.

13 Likes

Yep, that’s very likely to be included in cabal 3.10. To clarify, and please correct me if I’m wrong, cabal haddock-project builds documentation for a whole project of packages (a set of related packages specified in a cabal.project file), including cross-links among the packages, a common index, a page linking to all the package haddocks.

We are still bike-shedding the UI (commands and visual), the current one being provisional as the first iteration, so please voice your preferences. @coot, which ticket might be best for feedback?

1 Like

that’s very likely to be included in cabal 3.10.

:tada:

Yes, you’re right. There are two flavours, either link dependencies to hackage or build a self contained directory with all the documentation.

@coot, which ticket might be best for feedback?
I’d suggest to use this ticket (which already has been used for this purpose).

1 Like