haskell / cabal

Official upstream development repository for Cabal and cabal-install
https://haskell.org/cabal
Other
1.62k stars 691 forks source link

cabal haddock flag for single module #8660

Open yaitskov opened 1 year ago

yaitskov commented 1 year ago

Hi,

I have a big project 300 modules and cabal haddock takes minutes to run, but I am interested in refreshing docs for a single module. I don't see any filter flag which fits the goal.

ffaf1 commented 1 year ago

There is not. As a workaround you could invoke haddock directly: it is not exactly the same (links, etc.) but may be useful for interactive documentation writing.