Ticket #687 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Tell haddock about hidden modules

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.8.0.2
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

It would be nice, if Cabal could call Haddock with a list of --hide options according to the Other-Modules list. Currently we have to add {-# OPTIONS_HADDOCK hide #-} to every private module, which is redundant.

Change History

Changed 3 years ago by guest

  • version changed from 1.6.0.3 to 1.8.0.2
  • type changed from defect to enhancement

Changed 3 years ago by guest

  • status changed from new to closed
  • resolution set to fixed

Hm, cabal seems to do this already, but Haddock does not generate the links I expect. Then it seems to be a Haddock problem.

Note: See TracTickets for help on using tickets.