How to get access to Haddock HTML for newly cabal installed package?

Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in: file:///Users/dbanas/Library/Haskell/doc/index.html ? I’ve got documentation=True set, in ~/.cabal/config. Thanks, -db

On 04/21/2014 03:52 PM, David Banas wrote:
Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in:
file:///Users/dbanas/Library/Haskell/doc/index.html
?
I’ve got documentation=True set, in ~/.cabal/config.
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I believe it should be automagical. Are you sure you are cabal install'ing to the user directory as opposed to something like a sandbox instead? Upon a second look, I don't know where you're getting that path from. My documentation seems to be listed under ~/.cabal/share/doc/index.html , perhaps that's what you want? -- Mateusz K.

It seems you are running on Windows. From that assumption, try looking in
the following path: users/yourusername/AppData/Roaming/cabal/doc/index.html
Good luck.
On Mon, Apr 21, 2014 at 4:19 PM, Mateusz Kowalczyk
On 04/21/2014 03:52 PM, David Banas wrote:
Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in:
file:///Users/dbanas/Library/Haskell/doc/index.html
?
I’ve got documentation=True set, in ~/.cabal/config.
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I believe it should be automagical. Are you sure you are cabal install'ing to the user directory as opposed to something like a sandbox instead?
Upon a second look, I don't know where you're getting that path from. My documentation seems to be listed under ~/.cabal/share/doc/index.html , perhaps that's what you want?
-- Mateusz K. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 04/21/2014 07:21 PM, Daniel Díaz Casanueva wrote:
It seems you are running on Windows. From that assumption, try looking in the following path: users/yourusername/AppData/Roaming/cabal/doc/index.html
Good luck.
From the use of ~ and Users, I think David is using OSX.
PS: You gave me quite a good scare, it looks like you're replying to me and I'm certainly *not* using Windows.
On Mon, Apr 21, 2014 at 4:19 PM, Mateusz Kowalczyk
wrote: On 04/21/2014 03:52 PM, David Banas wrote:
Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in:
file:///Users/dbanas/Library/Haskell/doc/index.html
?
I’ve got documentation=True set, in ~/.cabal/config.
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I believe it should be automagical. Are you sure you are cabal install'ing to the user directory as opposed to something like a sandbox instead?
Upon a second look, I don't know where you're getting that path from. My documentation seems to be listed under ~/.cabal/share/doc/index.html , perhaps that's what you want?
-- Mateusz K. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Mateusz K.

I clicked "Reply All", hoping to reach the list, and I did. And yes, you
are right about he's probably using OSX. However, I do not have access to
any OSX to look for the right path. Did you solve the problem, David?
Best regards,
Daniel Díaz.
On Mon, Apr 21, 2014 at 7:40 PM, Mateusz Kowalczyk
On 04/21/2014 07:21 PM, Daniel Díaz Casanueva wrote:
It seems you are running on Windows. From that assumption, try looking in the following path: users/yourusername/AppData/Roaming/cabal/doc/index.html
Good luck.
From the use of ~ and Users, I think David is using OSX.
PS: You gave me quite a good scare, it looks like you're replying to me and I'm certainly *not* using Windows.
On Mon, Apr 21, 2014 at 4:19 PM, Mateusz Kowalczyk
wrote: On 04/21/2014 03:52 PM, David Banas wrote:
Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in:
file:///Users/dbanas/Library/Haskell/doc/index.html
?
I’ve got documentation=True set, in ~/.cabal/config.
Thanks, -db
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I believe it should be automagical. Are you sure you are cabal install'ing to the user directory as opposed to something like a sandbox instead?
Upon a second look, I don't know where you're getting that path from. My documentation seems to be listed under ~/.cabal/share/doc/index.html , perhaps that's what you want?
-- Mateusz K. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Mateusz K. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

David Banas wrote:
Does anyone know how I get the link to the Haddock generated HTML for a newly cabal installed package to show up in:
file:///Users/dbanas/Library/Haskell/doc/index.html
I’ve got documentation=True set, in ~/.cabal/config.
In ~/.cabal/config, try setting: doc-index-file: /Users/dbanas/Library/Haskell/doc/index.html I also use OS X and use this as my doc index, since that's where Haskell Platform puts it. -Eric
participants (4)
-
Daniel Díaz Casanueva
-
David Banas
-
Eric Walkingshaw
-
Mateusz Kowalczyk