on master help sign in
Mention how groups work with Hakyll.Core.Rules.create.
80f385cTroels Henriksen
src/Hakyll/Core/Rules.hs+3−1
@@ -140,7 +140,9 @@ compile compiler = do
140-- This sets a compiler for the given identifier. No resource is needed, since
140-- This sets a compiler for the given identifier. No resource is needed, since
141-- we are creating the item from scratch. This is useful if you want to create a
141-- we are creating the item from scratch. This is useful if you want to create a
142-- page on your site that just takes content from other items -- but has no
142-- page on your site that just takes content from other items -- but has no
143−-- actual content itself.
143+-- actual content itself. Note that the group of the given identifier is
144+-- replaced by the group set via 'group' (or 'Nothing', if 'group' has not been
145+-- used).
144--
146--
145create :: (Binary a, Typeable a, Writable a)
147create :: (Binary a, Typeable a, Writable a)
146 => Identifier a -> Compiler () a -> RulesM (Identifier a)
148 => Identifier a -> Compiler () a -> RulesM (Identifier a)