Stop! Tickets are now managed at GitHub.
Please enter new tickets, and find and edit existing tickets there:
Ticket #149 (closed defect: wontfix)
No Haddock index for global installs
|Reported by:||Orphi||Owned by:||DavidWaern|
If you add the lines
documentation: True doc-index-file: $datadir\doc\index.html
to the cabal-install configuration file, then cabal-install generates a Haddock master index file with hyperlinks to the documentation for all the packages you've installed. However, this works if and only if you do a user-install. In other words, the cabal-install configuration files contains
If you set this to False, then the packages go in a different folder (and are registered in a different GHC package DB). But also, for reasons unknown, the master index file is no longer generated. I don't know whether this is a fault with cabal-install, the Cabal library, or Haddock, but it's quite irritating.
As a minimum, there should be a warning that the request for an index file is being ignored, rather than silently doing nothing. But ideally, the index file should be generated.
(As an aside, it would be nice if the start menu or something would link to this file - but that would of course require it to exist at install-time...)