Jasper Van der Jeugt
f910233e0f
Avoid name clashes with pandoc
2011-02-12 15:21:26 +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
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
69f15f55ee
Fix typo in requireAllA doc (thanks beastaugh)
2011-01-19 08:51:18 +01:00
Jasper Van der Jeugt
89cd33c723
Add requireA/requireAllA functions
2011-01-18 23:58:29 +01:00
Jasper Van der Jeugt
374a9dde5a
Micro cleanup
2011-01-18 23:58:16 +01:00
Jasper Van der Jeugt
f104f91182
Monoid instance for page
2011-01-18 23:57:58 +01:00
Jasper Van der Jeugt
0bbc01f012
Backports feeds
2011-01-18 13:29:42 +01:00
Jasper Van der Jeugt
821dd38c13
Add some more defaults
2011-01-18 10:33:13 +01:00
Jasper Van der Jeugt
88b823eb5e
Make static server configurable
2011-01-18 09:06:54 +01:00
Jasper Van der Jeugt
cea2197924
Add prototype preview server
2011-01-17 23:21:20 +01:00
Jasper Van der Jeugt
2f951598ef
Allow IO operations in compilers
2011-01-17 22:43:44 +01:00
Jasper Van der Jeugt
c576424325
Backport ContextManipulations → Metadata
2011-01-17 16:08:37 +01:00
Jasper Van der Jeugt
78391b9be2
Clearer error message
2011-01-17 16:08:13 +01:00
Jasper Van der Jeugt
e3f8856665
Add renderTagCloud prototype
2011-01-17 10:04:09 +01:00
Jasper Van der Jeugt
d569ae5156
Add utility mapA function
2011-01-17 10:03:26 +01:00
Jasper Van der Jeugt
b867e6f204
Fix skipping certain compilers error
2011-01-17 10:02:46 +01:00
Jasper Van der Jeugt
6e7dc0e58f
Micro-cleanup
2011-01-14 08:50:34 +01:00
Jasper Van der Jeugt
3ea3c52f53
Rewrite Run module a bit, get rid off obsolete
2011-01-11 20:20:34 +01:00
Jasper Van der Jeugt
607b1d7d63
sanitize function for DirectedGraph
2011-01-11 19:55:34 +01:00
Jasper Van der Jeugt
c6710ac09a
Migrate Reader → Reader, State in Run module
2011-01-08 10:31:08 +01:00
Jasper Van der Jeugt
df8e221aef
Fully qualified errors
2011-01-08 09:09:11 +01:00
Jasper Van der Jeugt
d0939102bf
Metacompilers now work, todo: cleanup
2011-01-07 19:17:14 +01:00
Jasper Van der Jeugt
ddb8ea2193
Metacompilers now work, except for "modified"
2011-01-07 15:44:11 +01:00
Jasper Van der Jeugt
c443d5c116
Binary/Typeable/Writable instances for Tags
2011-01-07 15:12:22 +01:00
Jasper Van der Jeugt
672ecb077c
Add fromCapture(s)
2011-01-07 15:09:55 +01:00
Jasper Van der Jeugt
7bf3450caf
Run metacompilers instead of ignoring them
2011-01-07 14:48:47 +01:00
Jasper Van der Jeugt
1bf95c0028
Rank N compilers (compiler in compilers in...)
2011-01-07 14:40:33 +01:00
Jasper Van der Jeugt
f1e726be69
Renaming for consistency
2011-01-07 14:34:31 +01:00
Jasper Van der Jeugt
9e88440102
Restructure hakyllWith for metacompilers
2011-01-07 14:22:15 +01:00
Jasper Van der Jeugt
c7d63835f8
Move hakyllWith to hakyll monad
2011-01-07 12:47:02 +01:00
Jasper Van der Jeugt
11d7031da3
Add compilers producing compilers
2011-01-07 12:12:13 +01:00
Jasper Van der Jeugt
70fa0c2ff1
Add waitFor directive
2011-01-07 10:14:36 +01:00
Jasper Van der Jeugt
664648c5f9
Proof-of-concept tag module
2011-01-05 13:12:50 +01:00
Jasper Van der Jeugt
77c7d8dc17
Add in-memory map to store
...
This allows us to get rid of the dependency
lookup map and use one uniform cache/lookup.
2011-01-04 13:09:45 +01:00
Jasper Van der Jeugt
0969fe41c7
Add relativize URL's functionality
2011-01-04 11:13:08 +01:00
Jasper Van der Jeugt
e395b0af9a
Store result automatically using runCompiler
2011-01-03 23:24:22 +01:00
Jasper Van der Jeugt
2ceb5f59d0
Avoid looking at up-to-date items at all
2011-01-03 22:13:04 +01:00
Jasper Van der Jeugt
40c75767d4
Store modified flags in a map
...
This allows reuse for actual dependency checking
(to be implemented later).
2011-01-03 11:33:59 +01:00
Jasper Van der Jeugt
220e4b484c
Escaped carries allong it's escaped value
2011-01-02 12:49:43 +01:00
Jasper Van der Jeugt
2d1225104c
Add toUrl, move & optimize replaceAll a bit
2011-01-02 10:22:49 +01:00
Jasper Van der Jeugt
e1aa960099
Add Hakyll.Web module
2010-12-31 16:15:57 +01:00
Jasper Van der Jeugt
e54834f444
Check modification only once
2010-12-31 15:15:35 +01:00
Jasper Van der Jeugt
8bb4ea5c83
Add resourceExists function
2010-12-31 13:28:31 +01:00
Jasper Van der Jeugt
5b67f20eab
Prototype of the 'cached' arrow transformer
2010-12-31 12:38:12 +01:00
Jasper Van der Jeugt
70c7363b8c
Add wasModified method
2010-12-31 12:18:33 +01:00
Jasper Van der Jeugt
7b84181dab
Add $category field
2010-12-31 09:04:02 +01:00
Jasper Van der Jeugt
15f2cee5e4
Backport CompressCss module
2010-12-30 23:07:07 +01:00
Jasper Van der Jeugt
2b5b27e2e7
Add $title, $root and $url fields
2010-12-30 21:42:23 +01:00
Jasper Van der Jeugt
686de03ebf
Add Template module
2010-12-30 21:19:19 +01:00
Jasper Van der Jeugt
e49cd3b4b0
Cleanup, split up page module
2010-12-30 21:18:55 +01:00
Jasper Van der Jeugt
da12825066
Compiler → {Compiler, Compiler.Internal}
2010-12-30 17:47:31 +01:00
Jasper Van der Jeugt
227b186bf2
Remove compileFromString function
2010-12-30 15:57:36 +01:00
Jasper Van der Jeugt
86fafe6e61
Add CopyFile newtype
2010-12-30 13:49:58 +01:00
Jasper Van der Jeugt
687c17c6bb
Cleanup arrow code
2010-12-30 10:11:37 +01:00
Jasper Van der Jeugt
1c1133dfd6
More arrows
2010-12-30 10:02:25 +01:00
Jasper Van der Jeugt
6268e4a4fe
Experimental arrow-based approach
2010-12-29 22:59:38 +01:00
Jasper Van der Jeugt
bf31c55c99
Add requireAll function
2010-12-29 15:33:22 +01:00
Jasper Van der Jeugt
27ff2eef89
Use Typeable instead of ADT
2010-12-28 11:12:45 +01:00
Jasper Van der Jeugt
6ffb83d46f
Binary instance for Page
2010-12-27 18:46:23 +01:00
Jasper Van der Jeugt
a1043203bb
Add a snapshot state to target monad
2010-12-27 18:38:46 +01:00
Jasper Van der Jeugt
e07014b5bd
Targets have access to the store
2010-12-27 17:40:55 +01:00
Jasper Van der Jeugt
bda268273b
Make pandoc functions work on pages by default
2010-12-27 11:14:04 +01:00
Jasper Van der Jeugt
d25dcb698e
Fix typo in comments
2010-12-27 10:12:19 +01:00
Jasper Van der Jeugt
c1d16cdab3
Add Page parser
2010-12-27 10:07:31 +01:00