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/HaddockHH2.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/HaddockHH2.hs')
-rw-r--r-- | src/HaddockHH2.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HaddockHH2.hs b/src/HaddockHH2.hs index 3cee48e3..2555e523 100644 --- a/src/HaddockHH2.hs +++ b/src/HaddockHH2.hs @@ -40,9 +40,9 @@ ppHH2Contents odir doctitle maybe_package tree = do ppModuleTree _ [] = error "HaddockHH2.ppHH2Contents.ppModuleTree: no module trees given" ppNode :: [String] -> ModuleTree -> Doc - ppNode ss (Node s leaf _pkg []) = + ppNode ss (Node s leaf _pkg _short []) = text "<HelpTOCNode" <+> ppAttributes leaf (s:ss) <> text "/>" - ppNode ss (Node s leaf _pkg ts) = + ppNode ss (Node s leaf _pkg _short ts) = text "<HelpTOCNode" <+> ppAttributes leaf (s:ss) <> text ">" $$ nest 4 (ppModuleTree (s:ss) ts) $+$ text "</HelpTOCNode>" |