From 032e2b4257eda3003159a68ef47a27b70837ce4f Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 9 May 2002 10:44:15 +0000 Subject: [haddock @ 2002-05-09 10:44:15 by simonmar] Don't consider a module re-export as having documentation, for the purposes of deciding whether we need a Synopsis section or not. --- src/HaddockHtml.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs index 92e16e72..96658cb6 100644 --- a/src/HaddockHtml.hs +++ b/src/HaddockHtml.hs @@ -323,6 +323,7 @@ ifaceToHtml mod iface has_doc (ExportDecl d) | Just x <- declMainBinder d = isJust (lookupFM doc_map x) + has_doc (ExportModule _) = False has_doc _ = True no_doc_at_all = not (any has_doc exports) -- cgit v1.2.3