[Haskell-cafe] Accessing own haddock files
Corentin Dupont
corentin.dupont at gmail.com
Fri Nov 1 17:41:20 UTC 2013
Hi the list,
I have an application that need to access its own haddock documentation (to
display on a web site).
What is the best way to do that?
Unfortunatly Cabal doesn't seem to provide that.
Cabal generates a file "<package name>_Path.hs" containing:
*bindir = "/home/kau/.cabal/bin"
libdir = "/home/kau/.cabal/lib/Nomyx-Language-0.4.0/ghc-7.6.3"
datadir = "/home/kau/.cabal/share/Nomyx-Language-0.4.0"*
But there is no:
*docdir = "/home/kau/.cabal/share/doc/Nomyx-Language-0.4.0"*
That would be handy in my situation :)
Best,
Corentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131101/6b5dfb31/attachment.html>
More information about the Haskell-Cafe
mailing list