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