Skip to content
Snippets Groups Projects
Commit 259b2a9d authored by Simon Hengel's avatar Simon Hengel
Browse files

Add deprecated compatibility module

parent 4dc4d3cf
No related branches found
No related tags found
5 merge requests!38Make --no-tmp-comp-dir the default,!37Adapt to latest xhtml version, various optimizations,!31Support HsToken in DataDecl and ClassDecl,!12Drop orphan instance when defined upstream.,!10Haddock interfaces produced from `.hi` files
{-# LANGUAGE PackageImports #-}
module Documentation.Haddock {-# DEPRECATED "Use @Documentation.Haddock@ from package <http://hackage.haskell.org/package/haddock-api haddock-api> instead!" #-} (
module Documentation.Haddock
) where
import "haddock-api" Documentation.Haddock
...@@ -40,6 +40,21 @@ flag in-ghc-tree ...@@ -40,6 +40,21 @@ flag in-ghc-tree
default: False default: False
manual: True manual: True
-- This package re-exports the haddock-api library for compatibility.
-- The library section will be removed in version 2.16.0.
library
exposed: False
default-language: Haskell2010
hs-source-dirs: compat
ghc-options: -Wall
build-depends:
-- NOTE: Don't bump base dependency! Remove library section instead!
base >= 4.3 && < 4.8
, haddock-api
exposed-modules: Documentation.Haddock
if flag(in-ghc-tree)
buildable: False
executable haddock executable haddock
default-language: Haskell2010 default-language: Haskell2010
main-is: Main.hs main-is: Main.hs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment