summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-01-03 21:10:41 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-01-03 21:10:41 +0100
commit451f72910743b6a253ab376f0ad77108bdb732ef (patch)
treec25d3b266d0b5da3b74d83ff9cfd68354dfcaf63 /src/Hakyll/Core
parent8c0a609d6a8437b129228cfaad592d839b60b2c8 (diff)
downloadhakyll-451f72910743b6a253ab376f0ad77108bdb732ef.tar.gz
Remove outdated documentation
Diffstat (limited to 'src/Hakyll/Core')
-rw-r--r--src/Hakyll/Core/Rules.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Hakyll/Core/Rules.hs b/src/Hakyll/Core/Rules.hs
index 1c3f18d..8231422 100644
--- a/src/Hakyll/Core/Rules.hs
+++ b/src/Hakyll/Core/Rules.hs
@@ -126,9 +126,7 @@ version v rules = do
--------------------------------------------------------------------------------
-- | Add a compilation rule to the rules.
--
--- This instructs all resources to be compiled using the given compiler. When
--- no resources match the current selection, nothing will happen. In this case,
--- you might want to have a look at 'create'.
+-- This instructs all resources to be compiled using the given compiler.
compile :: (Binary a, Typeable a, Writable a) => Compiler (Item a) -> Rules ()
compile compiler = Rules $ modify $ \s ->
s {rulesCompiler = Just (fmap SomeItem compiler)}