Commit graph

476 commits

Author SHA1 Message Date
Jasper Van der Jeugt
d00026366c defaultPageRead → defaultPageCompiler 2011-02-15 22:15:02 +01:00
Jasper Van der Jeugt
3346123ca6 Receive list of used resources in Run module 2011-02-15 18:43:22 +01:00
Jasper Van der Jeugt
5a591ee24c Rules DSL tracks resources used 2011-02-15 18:32:55 +01:00
Jasper Van der Jeugt
abfb4c1919 defaultCompressCss → compressCssCompiler 2011-02-15 13:50:10 +01:00
Jasper Van der Jeugt
878ca8f3b0 Document RelativizeUrls module 2011-02-12 20:33:46 +01:00
Jasper Van der Jeugt
1e0c875d6e More Identifier documentation 2011-02-12 16:54:31 +01:00
Jasper Van der Jeugt
f910233e0f Avoid name clashes with pandoc 2011-02-12 15:21:26 +01:00
Jasper Van der Jeugt
645ac84b63 Update hakyll site to hakyll3 2011-02-12 15:16:42 +01:00
Jasper Van der Jeugt
6e2cc76928 $key$ instead of $key when not found 2011-02-12 15:03:43 +01:00
Jasper Van der Jeugt
1100f65f76 Document Compiler module 2011-02-12 10:26:58 +01:00
Jasper Van der Jeugt
34257df262 Resource = Identifier with an exists invariant 2011-02-11 23:26:54 +01:00
Jasper Van der Jeugt
2b9858a8f9 Add Resource type for improved type-safety 2011-02-11 17:52:19 +01:00
Jasper Van der Jeugt
fc6df44c22 Document Page module 2011-02-11 17:39:53 +01:00
Jasper Van der Jeugt
7797009646 Document the Template module 2011-02-11 16:09:39 +01:00
Jasper Van der Jeugt
60cda32b72 Add transparent reading of hamlet/hakyll templates 2011-02-11 15:34:34 +01:00
Jasper Van der Jeugt
dd81433d74 Split Rules module, add documentation 2011-02-11 13:30:55 +01:00
Jasper Van der Jeugt
2dfe7f6a67 Document Routes module 2011-02-11 08:48:18 +01:00
Jasper Van der Jeugt
4e0abd872a Update cabal file, fix warnings 2011-02-11 08:39:10 +01:00
Jasper Van der Jeugt
84d920432c Add customRoute 2011-02-11 08:20:35 +01:00
Jasper Van der Jeugt
3829083576 Add defaultApplyTemplate compiler 2011-02-10 22:55:03 +01:00
Jasper Van der Jeugt
c03607e087 Add prototype inotify backend 2011-02-10 20:05:50 +01:00
Jasper Van der Jeugt
77f37c1443 getRecursiveContents can return directories 2011-02-10 18:59:16 +01:00
Jasper Van der Jeugt
48da85b341 Add isFileInternal 2011-02-10 16:42:26 +01:00
Jasper Van der Jeugt
d66155968f Move preview server, update to snap 0.4 2011-02-10 16:04:55 +01:00
Jasper Van der Jeugt
1075096df7 Add sortByBaseName function for pages 2011-02-10 15:08:26 +01:00
Jasper Van der Jeugt
3532d5f100 Top-level module for reading templates 2011-02-10 12:30:58 +01:00
Jasper Van der Jeugt
7e05b16603 Wrote a bit on a new tutorial 2011-02-10 12:30:06 +01:00
Jasper Van der Jeugt
f08b2222ca Update brochure example to hakyll3 2011-02-10 12:29:40 +01:00
Jasper Van der Jeugt
8cec091e04 Add some tests for RelativizeUrls 2011-02-09 19:57:25 +01:00
Jasper Van der Jeugt
d9e0c3e86b Some tests for the Page module 2011-02-09 19:28:53 +01:00
Jasper Van der Jeugt
002cf4de32 Add hamlet templates and restructure tests 2011-02-09 18:11:24 +01:00
Jasper Van der Jeugt
7da7e0b96c Add top-level module 2011-02-09 16:59:09 +01:00
Jasper Van der Jeugt
9e07d1ba36 Template syntax: $foo → $foo$ 2011-02-09 13:27:45 +01:00
Jasper Van der Jeugt
ee320c6166 Finish tags module 2011-02-09 13:02:28 +01:00
Jasper Van der Jeugt
f56eb538b6 Lazy pattern matching for compiler composition 2011-02-07 16:01:09 +01:00
Jasper Van der Jeugt
986a74b3af Add mapA 2011-02-07 11:41:09 +01:00
Jasper Van der Jeugt
781138a0e7 Backport sargon's fix (6d8154) 2011-02-06 22:27:11 +01:00
Jasper Van der Jeugt
bd261e9151 Add getRouteFor 2011-02-06 18:32:09 +01:00
Jasper Van der Jeugt
ec9c1ec0db Instantiate ArrowChoice for Compiler 2011-02-05 13:38:20 +01:00
Jasper Van der Jeugt
c093761e89 Route → Routes 2011-02-03 16:07:49 +01:00
Jasper Van der Jeugt
5705bb8f88 Add command-line args 2011-02-03 14:18:09 +01:00
Jasper Van der Jeugt
26c95402d8 Add a top-level configuration type 2011-02-03 11:34:00 +01:00
Jasper Van der Jeugt
97ce6cbfa0 Add setFieldA function 2011-01-30 15:18:38 +01:00
Jasper Van der Jeugt
c691251fc7 Autogenerate metacompiler indentifiers 2011-01-30 10:44:42 +01:00
Jasper Van der Jeugt
6cecbb890f Add fromCaptureString function 2011-01-25 20:56:10 +01:00
Jasper Van der Jeugt
7ba1413ea9 Add suffix to store files
This prevents file/directory clashes. Example:
when we have a `tags` item, and a `tags/foo` item,
there will be a clash since the store creates:

- a file `store/tags`;
- a file `store/tags/foo`.

The second file requires the first file to be a
directory.

We simply solve this by adding a suffix to all
store files, so it becomes:

- a file `store/tags.hakyllstore`;
- a file `store/tags/foo.hakyllstore`.
2011-01-25 13:50:02 +01:00
Jasper Van der Jeugt
e536a5961c Functor & Applicative instances for Compiler 2011-01-25 11:14:22 +01:00
Jasper Van der Jeugt
9b3e524128 Define all require functions in arrows
TODO: Think of a good naming scheme
2011-01-24 13:30:23 +01:00
Jasper Van der Jeugt
a1d8f4f3f8 Update data files 2011-01-24 13:30:09 +01:00
Jasper Van der Jeugt
69f15f55ee Fix typo in requireAllA doc (thanks beastaugh) 2011-01-19 08:51:18 +01:00