haskell / haskell/cabal

cabal does not build documentation for repl

Open
#7,305 4 comments 4 reactions 0 assignees View on GitHub
cabal-install: cmd/repl type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.