haskell - Haddock for Cabal-installed modules? -
I am using GHC and installed several packages through KABAL. One of the web sites from the package says that "Look at the Headoc document" Haddock
command only works on source files, and cabal hasdock
only one . Cabal works in a project's top-level directory, code> build file is there a way to say "show me a Hawk dock" for a module?
I'm waiting for
pydoc -p 12345
which starts with an HTTP server that is installed locally.
Around the work, I removed the source turbal from under ~ / .cabal
and cabal configure; Cabal hasdock
in the source directory, but it's like a pain.
Edit your configured file:
~ / .cabal / Config
There is an option to enable the default installation doctor:
Documents: True
Existing packages To set up a doctor, use:
cabal install xxx --reinstall
again from the original package to the upper-level package docs -Uninstall, so other modules "Hyper-Link" generated properly Will.
Comments
Post a Comment