Open Magicloud opened 11 years ago
@Magicloud Try running cabal install
with -v2
and look for the haddock --gen-index
command.
Sadly, there was no such command. haddock was run a bunch of times, but no '--gen-index' was used.
Here is the log: https://raw.github.com/Magicloud/misc/master/log
The default index file is $datadir/doc/index.html
. Try tweaking the --doc-index-file
option.
But the position ($datadir/doc/index.html) is correct for me. Also the position where libraries' documents installed.
Could anyone help?
I'm a bit busy right now, unfortunately.
Oh, sorry, I was not pushing. Just wondering it staled for a long time.
Hi, I am using following script to wrap
cabal install
to avoid installing to public space. The building seemed fine. And the documents were installed into ".cabal/share/doc/x86_64-linux-ghc-7.6.3/". But they are not linked into ".cabal/share/doc/index.html". What else should I set?ghc-pkg init dist/db && cabal install --prefix=
pwd/dist --datadir=$HOME/.cabal/share --package-db=
pwd/dist/db