From 80f385c36110d90bab5e0cf085d557d546911eb6 Mon Sep 17 00:00:00 2001 From: Troels Henriksen Date: Fri, 17 Feb 2012 16:25:00 +0100 Subject: Mention how groups work with Hakyll.Core.Rules.create. --- src/Hakyll/Core/Rules.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Hakyll/Core/Rules.hs') diff --git a/src/Hakyll/Core/Rules.hs b/src/Hakyll/Core/Rules.hs index 2e3e52c..bef480a 100644 --- a/src/Hakyll/Core/Rules.hs +++ b/src/Hakyll/Core/Rules.hs @@ -140,7 +140,9 @@ compile compiler = do -- This sets a compiler for the given identifier. No resource is needed, since -- we are creating the item from scratch. This is useful if you want to create a -- page on your site that just takes content from other items -- but has no --- actual content itself. +-- actual content itself. Note that the group of the given identifier is +-- replaced by the group set via 'group' (or 'Nothing', if 'group' has not been +-- used). -- create :: (Binary a, Typeable a, Writable a) => Identifier a -> Compiler () a -> RulesM (Identifier a) -- cgit v1.2.3