Some updates to the apidoc rules
authorIustin Pop <iustin@google.com>
Fri, 20 Mar 2009 18:58:35 +0000 (19:58 +0100)
committerIustin Pop <iustin@google.com>
Fri, 20 Mar 2009 18:58:35 +0000 (19:58 +0100)
Ganeti/HTools/Cluster.hs
Ganeti/HTools/Version.hs.in
Makefile

index c7b7350..c6f8e6c 100644 (file)
@@ -1,7 +1,7 @@
 {-| Implementation of cluster-wide logic.
 
 This module holds all pure cluster-logic; I\/O related functionality
-goes into the "Main" module.
+goes into the "Main" module for the individual binaries.
 
 -}
 
@@ -45,6 +45,7 @@ import Ganeti.HTools.Utils
 
 type NodeList = Container.Container Node.Node
 type InstanceList = Container.Container Instance.Instance
+-- | A separate name for the cluster score type
 type Score = Double
 
 -- | The description of an instance placement.
index daffa76..8bd4a73 100644 (file)
@@ -1,6 +1,9 @@
+-- Hey Emacs, this is a -*- haskell -*- file
+
 module Ganeti.HTools.Version
     (
-      version -- ^ the version of the tree
+      version
     ) where
 
+-- | The version of the tree
 version = "(htools) version %ver%"
index cf7a064..3656ff6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,8 @@ doc: $(DOCS)
        done
        haddock --odir $(HDDIR) --html --ignore-all-exports \
                -t htools -p haddock-prologue \
-               --source-module="Ganeti/HTools/%{MODULE/.//}.html" \
-               --source-entity="Ganeti/HTools/%{MODULE/.//}.html#%{NAME}" \
+               --source-module="%{MODULE/.//}.html" \
+               --source-entity="%{MODULE/.//}.html#%{NAME}" \
                $(HSRCS)
 
 clean: