haskell / haskell/cabal

Optionally make Haddock errors fatal again

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

Description

Since https://github.com/haskell/cabal/pull/5459 are nonfatal.
That's very nice in general, especially when you have documentation enabled globally.

But when running automated tests on my own code, I would like it to fail when I break haddock generation.

Could we have some flag to optionally make haddock generation errors fatal again?
Or maybe running `cabal new-haddock` could produce a fatal error when it fails, because you've explicitly asked for the documentation.

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.