Adopt to haddock API changes
Adopt to haddock API changes

beni55/doctest-haskell,sol/doctest,snoyberg/doctest-haskell,ekmett/doctest,sakari/doctest-haskell,sol/doctest,snoyberg/doctest-haskell,ekmett/doctest