cabal icon indicating copy to clipboard operation
cabal copied to clipboard

cabal does not build documentation for repl

Open oivulf opened this issue 4 years ago • 4 comments

cabal (3.4.0) does not build documentation for ghci, even when cabal build --enable-documentation

To Reproduce cabal v2-build --enable-documentation cabal v2-repl Prelude Test.Util> import qualified Data.Vector as V Prelude V Test.Util> :doc V.partition
ghc: Can't find any documentation for Data.Vector.
This is probably because the module was compiled without '-haddock',
but it's also possible that the module contains no documentation.

Expected behavior obtain documentation, this used to work in previous versions?

System information Build profile: -w ghc-8.8.4 -O1 linux debian ghc, cabal from ghcup

oivulf avatar Feb 25 '21 18:02 oivulf