aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock.hs
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-09-18 13:38:11 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-09-18 13:38:11 -0700
commitee47a1ab37699db0573c9cf0aa6461e1f8865197 (patch)
tree9eb0ca0d12911663b01d1f1c7ac82752fe9011ed /src/Haddock.hs
parent4023817d7c0e46db012ba2eea28022626841ca9b (diff)
Properly render package ID (not package key) in index, fixes #329.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'src/Haddock.hs')
-rw-r--r--src/Haddock.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock.hs b/src/Haddock.hs
index bed47625..980926cd 100644
--- a/src/Haddock.hs
+++ b/src/Haddock.hs
@@ -262,14 +262,14 @@ render dflags flags qual ifaces installedIfaces srcMap = do
copyHtmlBits odir libDir themes
when (Flag_GenContents `elem` flags) $ do
- ppHtmlContents odir title pkgStr
+ ppHtmlContents dflags odir title pkgStr
themes opt_index_url sourceUrls' opt_wiki_urls
allVisibleIfaces True prologue pretty
(makeContentsQual qual)
copyHtmlBits odir libDir themes
when (Flag_Html `elem` flags) $ do
- ppHtml title pkgStr visibleIfaces odir
+ ppHtml dflags title pkgStr visibleIfaces odir
prologue
themes sourceUrls' opt_wiki_urls
opt_contents_url opt_index_url unicode qual