Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Program/HcPkg.hs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ mungePackagePaths pkgroot pkginfo =
, libraryDynDirs = mungePaths (libraryDynDirs pkginfo)
, frameworkDirs = mungePaths (frameworkDirs pkginfo)
, haddockInterfaces = mungePaths (haddockInterfaces pkginfo)
, haddockHTMLs = mungeUrls (haddockHTMLs pkginfo)
, haddockHTMLs = mungePaths (mungeUrls (haddockHTMLs pkginfo))
}
where
mungePaths = map mungePath
Expand Down
6 changes: 6 additions & 0 deletions changelog.d/pr-11218.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
synopsis: Fix links to installed documentation when running `cabal haddock`
packages: Cabal
prs: #11218

Links to installed documentation (i.e. for base) from generated haddock should
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would explain why here (that is, mention ${pkgroot}).

I'm not sure if this might count as significant. Artem/others?

now work.
Loading