From the Haddock section on Stephen Diehl's "What I Wish I Knew When Learning Haskell" page:
haddock options can also be specified with pragmas in the source, either at the module or project level.
An example of a pragma at the module level is given:
{-# OPTIONS_HADDOCK show-extensions, ignore-exports #-}
but in which section of which file (when using stack
) can these options be placed so as to apply to an entire project (or rather, "package")?