diff options
author | simonmar <unknown> | 2004-08-10 14:09:57 +0000 |
---|---|---|
committer | simonmar <unknown> | 2004-08-10 14:09:57 +0000 |
commit | 7b865ad373612e93c9b62db0b5efe14524caa388 (patch) | |
tree | f1ff433ecf30438dfc1022dca98f48077257ac92 /src/HaddockDevHelp.hs | |
parent | af7f8c0379dc19ee831e25b64c9e94e733f331be (diff) |
[haddock @ 2004-08-10 14:09:57 by simonmar]
Fixes for DevHelp/HtmlHelp following introduction of short module description.
Diffstat (limited to 'src/HaddockDevHelp.hs')
-rw-r--r-- | src/HaddockDevHelp.hs | 5 |
1 files changed, 3 insertions, 2 deletions
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 "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>" $$ (text "<book xmlns=\"http://www.devhelp.net/book\" title=\""<>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 "<sub"<+>ppAttribs<>text "/>" ts -> |