hdocs-0.5.0.2: hdocs.cabal
name: hdocs
version: 0.5.0.2
synopsis: Haskell docs tool
description:
Tool and library to get docs for installed packages and source files.
Can return result in JSON format.
Can dump docs for all installed modules
.
@Usage:
hdocs <module> - get docs for module/file
hdocs <module> <name> - get docs for name in module/file
hdocs dump [r] - dump all installed docs, if [r], find docs for reexported declarations
flags
--pretty pretty JSON output
-g GHC_OPT --ghc=GHC_OPT option to pass to GHC
@
homepage: https://github.com/mvoidex/hdocs
license: BSD3
license-file: LICENSE
author: Alexandr `Voidex` Ruchkin
maintainer: voidex@live.com
category: Development
build-type: Simple
cabal-version: >=1.8
source-repository head
type: git
location: git://github.com/mvoidex/hdocs.git
library
hs-source-dirs: src
ghc-options: -fno-warn-tabs
exposed-modules:
HDocs.Base
HDocs.Haddock
HDocs.Module
other-modules:
HDocs.Ghc.Compat
if impl(ghc >= 8.0)
build-depends:
ghc >= 8.0.0,
haddock-api >= 2.17.0 && < 2.18.0,
haddock-library == 1.4.*
if impl(ghc < 8.0)
build-depends:
ghc >= 7.8.1 && < 8.0.0,
haddock-api >= 2.16.0 && < 2.17.0,
haddock-library == 1.2.*
build-depends:
base >= 4.7 && < 5,
aeson >= 0.7.0,
bytestring >= 0.10.0,
Cabal >= 1.22.2,
filepath >= 1.3.0,
ghc-paths >= 0.1.0,
containers >= 0.5.0,
network >= 2.4.0,
process >= 1.2.0,
text >= 1.1.0,
mtl >= 2.1.0
executable hdocs
main-is: hdocs.hs
hs-source-dirs: tools
ghc-options: -fno-warn-tabs
build-depends:
base >= 4.7 && < 5,
hdocs,
aeson >= 0.7.0,
aeson-pretty >= 0.7.0,
bytestring >= 0.10.0,
containers >= 0.5.0,
filepath >= 1.3.0,
haddock-api,
mtl >= 2.1.0,
network >= 2.4.0,
text >= 1.1.0
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: tests
ghc-options: -fno-warn-tabs
other-modules:
HelpTest
build-depends:
base >= 4.7 && < 5,
hdocs,
containers >= 0.5.0,
mtl >= 2.1.0