summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-08-06 13:39:43 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-08-06 13:39:43 +0200
commit253f7c65b64addb434fc0cebe57a25ca59274f89 (patch)
tree8639f4371a43495f281d3ea8c75ebd0858f5a1d9
parentd3b87ba2590480a05d8b13770889ac1f14a2b573 (diff)
downloadhakyll-253f7c65b64addb434fc0cebe57a25ca59274f89.tar.gz
Version bump
-rw-r--r--examples/hakyll/changelog.markdown10
-rw-r--r--examples/hakyll/tutorials/part08.markdown16
-rw-r--r--hakyll.cabal4
3 files changed, 23 insertions, 7 deletions
diff --git a/examples/hakyll/changelog.markdown b/examples/hakyll/changelog.markdown
index a182c67..b8f2489 100644
--- a/examples/hakyll/changelog.markdown
+++ b/examples/hakyll/changelog.markdown
@@ -2,6 +2,16 @@
title: Changelog
---
+## Hakyll 2.3
+
+- Ability to choose between preview modes.
+- Simple static configuration available.
+- Support hamlet templates.
+
+## Hakyll 2.2.2
+
+- Cabal dependency fixes.
+
## Hakyll 2.2.1
- Allow custom time locale for `renderDate`.
diff --git a/examples/hakyll/tutorials/part08.markdown b/examples/hakyll/tutorials/part08.markdown
index bfb986b..a7072fc 100644
--- a/examples/hakyll/tutorials/part08.markdown
+++ b/examples/hakyll/tutorials/part08.markdown
@@ -22,11 +22,17 @@ Hakyll features a simple _auto-compilation_ mode. This is invoked by running
Starting hakyll server on port 8000...
~~~~~
-Now, Hakyll will recompile your site when you change files, so you can just
-refresh in your browser. There is one more thing to note: this will not update
-your site automatically when `hakyll.hs` changes. So if you make any changes to
-the configuration file, you'll have to compile it again, and then you can enter
-`preview` mode again.
+Now, Hakyll will recompile your site when you refresh in your browser. This will
+not update your site automatically when `hakyll.hs` changes. So if you make any
+changes to the configuration file, you'll have to compile it again, and then you
+can enter `preview` mode again.
+
+If you use a custom `HakyllConfiguration`, you can select your custom
+`PreviewMode`:
+
+- `BuildOnRequest`: rebuild site when the preview server receives a request
+ (default).
+- `BuildOnInterval`: build when you change files.
## When to rebuild
diff --git a/hakyll.cabal b/hakyll.cabal
index 9236d4c..c82c346 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
Name: hakyll
-Version: 2.2.2
+Version: 2.3
Synopsis: A simple static site generator library.
Description: A simple static site generator library, mainly aimed at
@@ -40,7 +40,7 @@ library
old-time == 1.*,
time >= 1.2,
binary >= 0.5,
- hamlet == 0.4.2
+ hamlet >= 0.4.2
exposed-modules: Network.Hakyll.SimpleServer
Text.Hakyll
Text.Hakyll.Context