> Suppose that I wanted to generate documentation for everything in my
> Cabal package except for the modules with Template Haskell in them. Is
> it enough to add {-# OPTIONS_HADDOCK hide #-} to each of these
> modules? I tried, but it didn't pan out like I hoped. I'm still
> getting the same error. Is there something else I can do?
As I understand it, using hide like that just means there will be no
documentation page for that module. However it still has to parse that
module since things in it may be re-exported from other modules and have
documentation inserted into the docs for those modules.