Ticket #150 (new enhancement)

Opened 6 years ago

Last modified 17 months ago

haddock docs are not relocatable in Windows

Reported by: eivuokko Owned by:
Priority: normal Milestone: _|_
Component: Cabal library Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: hard (< 1 day)
GHC Version: 6.4.2 Platform: Windows

Description

Haddock docs are not installed sensibly in Windows. They go under Common Files, which is silly; Their path doesn't contain compiler version, which makes it hard to install docs for same package version installed for different compilers/versions and they are not relocatable because

  • default uses absolute paths for references
  • with a lot of work they can refer to each other via relative paths, but ghc installation isn't installed in similar fashion. And then all packages must also be installed into same prefix. (ie user-only vs admin installs)

Change History

Changed 6 years ago by duncan

  • priority changed from normal to high
  • difficulty changed from normal to very easy (<1 hour)
  • version changed from 1.1.6 to HEAD
  • milestone set to Cabal-1.2

Changing the default location is easy see Distribution.Simple.InstallDirs?.

Making the docs relocatable is hard.

Fixing the default location should be done for cabal 1.2, the other will have to be deferred.

Changed 6 years ago by duncan

  • priority changed from high to normal
  • difficulty changed from very easy (<1 hour) to hard (< 1 day)
  • summary changed from haddock docs are installed insensibly in Windows to haddock docs are not relocatable in Windows
  • milestone changed from Cabal-1.2 to Cabal-1.4

The default location has been improved. It doesn't contain the compiler however. But you can override that with --docdir=...

Changing summary, priority & difficulty to reflect the remaining part of the problem.

Changed 5 years ago by duncan

  • milestone changed from Cabal-1.4 to _|_

Changed 5 years ago by duncan

  • type changed from defect to enhancement

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.