From 7b865ad373612e93c9b62db0b5efe14524caa388 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 10 Aug 2004 14:09:57 +0000 Subject: [haddock @ 2004-08-10 14:09:57 by simonmar] Fixes for DevHelp/HtmlHelp following introduction of short module description. --- src/HaddockDevHelp.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/HaddockDevHelp.hs') diff --git a/src/HaddockDevHelp.hs b/src/HaddockDevHelp.hs index 23f3bfc6..fcb26099 100644 --- a/src/HaddockDevHelp.hs +++ b/src/HaddockDevHelp.hs @@ -20,7 +20,8 @@ import HaddockTypes ppDevHelpFile :: FilePath -> String -> Maybe String -> [(Module,Interface)] -> IO () ppDevHelpFile odir doctitle maybe_package ifaces = do let devHelpFile = package++".devhelp" - tree = mkModuleTree [(mod,iface_package iface) | (mod,iface) <- ifaces] + tree = mkModuleTree [ (mod, iface_package iface, toDescription iface) + | (mod, iface) <- ifaces ] doc = text "" $$ (text "text doctitle<> @@ -42,7 +43,7 @@ ppDevHelpFile odir doctitle maybe_package ifaces = do ppModuleTree _ [] = error "HaddockHH.ppHHContents.fn: no module trees given" ppNode :: [String] -> ModuleTree -> Doc - ppNode ss (Node s leaf _pkg ts) = + ppNode ss (Node s leaf _pkg _short ts) = case ts of [] -> text "ppAttribs<>text "/>" ts -> -- cgit v1.2.3