haddock --for-hackage
enables Haddock's --hyperlinked-sources
AND --source-*
options
#9318
Labels
haddock --for-hackage
enables Haddock's --hyperlinked-sources
AND --source-*
options
#9318
Describe the bug
Haddock warns:
See also its documentation at: https://haskell-haddock.readthedocs.io/en/latest/invoking.html#cmdoption-hyperlinked-source
However,
Distribution.Simple.Haddock.fromFlags
has (extracts):and
Distribution.Simple.Haddock.renderPureArgs
has (extracts) (as an aside, looking at theisVersion
checks for Haddock, GHC 8.0.1 comes with Haddock 2.17.2):That is, both
--hyperlinked-source
and--source-*
options are being passed.To Reproduce
On Windows/PowerShell, for a simple one-package project
HfHTest
(as an aside,stack runghc --no-ghc-package-path --
simply runsrunghc
in a Cabal-friendly environment) (extracts):Expected behavior
That Cabal (the library) does not set things up to trigger Haddock's warning.
System information
I think this is applicable to all released versions of Cabal on all operating systems.
The text was updated successfully, but these errors were encountered: