on master help sign in
Remove outdated documentation
commit451f72910743b6a253ab376f0ad77108bdb732ef authorJasper Van der Jeugt <m@jaspervdj.be> dateThu 3 Jan 2013, 21:10 (14 years ago) parent8c0a609
1 file changed+1−3
src/Hakyll/Core/Rules.hs+1−3
src/Hakyll/Core/Rules.hs+1−3
@@ -126,9 +126,7 @@ version v rules = do
126126--------------------------------------------------------------------------------
127127-- | Add a compilation rule to the rules.
128128--
129−-- This instructs all resources to be compiled using the given compiler. When
130−-- no resources match the current selection, nothing will happen. In this case,
131−-- you might want to have a look at 'create'.
129+-- This instructs all resources to be compiled using the given compiler.
132130compile :: (Binary a, Typeable a, Writable a) => Compiler (Item a) -> Rules ()
133131compile compiler = Rules $ modify $ \s ->
134132 s {rulesCompiler = Just (fmap SomeItem compiler)}