From 26bfb19c803e78d5a3d1cf4d169d47dfda5d1189 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 23 Feb 2005 15:57:12 +0000 Subject: [haddock @ 2005-02-23 15:57:12 by simonmar] Fix documentation regarding the module attributes. --- doc/haddock.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/haddock.xml b/doc/haddock.xml index b4464720..f9dbb1ff 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -1183,11 +1183,19 @@ import B -- #hide, prune, ignore-exports + -- |Module description module A where ... + The options and module description can be in either order, but + remember to separate them using a blank line if you are using the + -- style comments. Without the blank line in the + example above, the module description would be assumed to be part of + the options, and Haddock would complain about unrecognised + options. + The following attributes are currently understood by Haddock: -- cgit v1.2.3