aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-09 10:44:15 +0000
committersimonmar <unknown>2002-05-09 10:44:15 +0000
commit032e2b4257eda3003159a68ef47a27b70837ce4f (patch)
tree1c2281f9b4e2414608c466ef5f22690f7fa05815 /src
parentb481c1d08780a214b53382a1806473265bcc23bc (diff)
[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.
Diffstat (limited to 'src')
-rw-r--r--src/HaddockHtml.hs1
1 files changed, 1 insertions, 0 deletions
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)