Optionally make Haddock errors fatal again
Open
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
Assessment
This issue has not been assessed yet.