
i have this:
documentation: True
So I tried running cabal install on a dummy package, and i got this:
$ cabal install
Resolving dependencies...
Configuring dummy-0.0...
Building dummy-0.0...
Installed dummy-0.0
Updating documentation index
/Users/anatolyy/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.1/index.html
so it updated the wrong index file, but even that one has dead links:
file:///Users/anatolyy/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.1/Blaze-ByteString-Builder.html
doesn't exit
$ find ~/Library -name Blaze-ByteString-Builder.html
/Users/anatolyy/Library/Haskell/ghc-7.10.1-x86_64/lib/blaze-builder-0.4.0.1/doc/html/Blaze-ByteString-Builder.html
On Mon, Dec 7, 2015 at 4:48 PM Albert Y. C. Lai
On 2015-12-07 06:53 PM, Anatoly Yakovenko wrote:
I have a bunch of dead links in
file:///Users/anatolyy/Library/Haskell/share/doc/index.html
is there a way to regenerate the index from the currently installed docs?
The index is rebuilt whenever you "cabal install --user --enable-documentation" some library. (--user is the default. --enable-documentation can be permanently set in $HOME/.cabal/config, is it the same path on Mac?)
I made a dummy library package so I can reinstall it to force-refresh the index whenever I feel like to. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe