Skip to content

cabal does not build documentation for repl #7305

Open
@oivulf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions