haddock icon indicating copy to clipboard operation
haddock copied to clipboard

Add a module-level option to hide hyperlinked sources

Open harpocrates opened this issue 7 years ago • 6 comments

The idea is to have an option to disable hyperlinked sources on modules whose source is programmatically generated, huge, and uninteresting. You can tell Haddock to not generate hyperlinked sources for the module Foo either via an option --hide-hyperlinked=Foo or a Haddock pragma {-# OPTIONS_HADDOCK hide-hyperlinked #-}.

Fixes https://github.com/haskell/haddock/issues/758.

harpocrates avatar May 08 '18 17:05 harpocrates

Looks good so far. Could you add an entry to changelog I always find it handy to see with which version a new parameter is introduced.

alexbiehl avatar May 08 '18 17:05 alexbiehl

@mergifyio rebase

Kleidukos avatar Jun 06 '22 10:06 Kleidukos

rebase

✅ Branch has been successfully rebased

mergify[bot] avatar Jun 06 '22 10:06 mergify[bot]

@mergifyio update

Kleidukos avatar Jun 06 '22 10:06 Kleidukos

update

❌ Base branch update has failed

merge conflict between base and head err-code: FA2F6

mergify[bot] avatar Jun 06 '22 10:06 mergify[bot]

@harpocrates Could I have a status update on this PR?

Kleidukos avatar Jun 11 '22 14:06 Kleidukos