<div dir="ltr"><div><div><div><div><div><div><div><div>Hi the list,<br></div>I have an application that need to access its own haddock documentation (to display on a web site).<br></div>What is the best way to do that?<br>
</div>Unfortunatly Cabal doesn't seem to provide that.<br><br></div>Cabal generates a file "<package name>_Path.hs" containing:<br><br><i>bindir     = "/home/kau/.cabal/bin"<br>libdir     = "/home/kau/.cabal/lib/Nomyx-Language-0.4.0/ghc-7.6.3"<br>
datadir    = "/home/kau/.cabal/share/Nomyx-Language-0.4.0"</i><br><br></div>But there is no:<br><i>docdir    = "/home/kau/.cabal/share/doc/Nomyx-Language-0.4.0"</i><br><br></div>That would be handy in my situation :)<br>
<br></div>Best,<br></div>Corentin<br></div>