
2 Nov
2009
2 Nov
'09
7:57 p.m.
Am Montag 02 November 2009 20:34:05 schrieb aditya siram:
Hi all, I use Hackage (through Hayoo sometimes) primarily for viewing API documentation. How can I store API docs for cabal-installed packages locally so I am not slowed down when Hackage goes down?
-deech
In your ~/.cabal/config file, uncomment the line -- documentation: True (or was it "-- documentation:" originally? In which case you'd have to write the "True" yourself.) Then cabal install will build haddocks for each package it installs and put the docs in the standard place (~/.cabal/share/doc/ for user installs, I think; /usr/local/share/doc for global installs, IIRC).