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