on master help sign in
Merge pull request #47 from GunioRobot/clean
906be33Jasper Van der Jeugt
web/css/syntax.css+2−2
@@ -1,9 +1,9 @@
1/* Generated by pandoc. */
1/* Generated by pandoc. */
2−table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
2+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
3 { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
3 { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
4td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
4td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
5td.sourceCode { padding-left: 5px; }
5td.sourceCode { padding-left: 5px; }
6−pre.sourceCode span.kw { color: #007020; font-weight: bold; }
6+pre.sourceCode span.kw { color: #007020; font-weight: bold; }
7pre.sourceCode span.dt { color: #902000; }
7pre.sourceCode span.dt { color: #902000; }
8pre.sourceCode span.dv { color: #40a070; }
8pre.sourceCode span.dv { color: #40a070; }
9pre.sourceCode span.bn { color: #40a070; }
9pre.sourceCode span.bn { color: #40a070; }
web/tutorials/03-arrows.markdown+1−1
@@ -22,7 +22,7 @@ has a `published` metadata element that does not have the value
22isPublished :: Page a -> Bool
22isPublished :: Page a -> Bool
23isPublished p =
23isPublished p =
24 let published = getField "published" p in
24 let published = getField "published" p in
25− published /= "" && published /= "false"
25+ published /= "" && published /= "false"
26~~~~~
26~~~~~
27
27
28The next step is to write a function that tags a page with its
28The next step is to write a function that tags a page with its
web/tutorials/04-guide.markdown+5−5
@@ -20,7 +20,7 @@ you need to get started building a site with hakyll.
20 This is one of the modules you should look at first. It defines the
20 This is one of the modules you should look at first. It defines the
21 fundamental `Compiler` type and has a bunch of documentation explaining how to
21 fundamental `Compiler` type and has a bunch of documentation explaining how to
22 use `Compiler`s and their `Arrow`-based interface.
22 use `Compiler`s and their `Arrow`-based interface.
23−
23+
24 It also defines many primitive `Compiler`s as well as several
24 It also defines many primitive `Compiler`s as well as several
25 variants on `require`, which allow you to bring together multiple
25 variants on `require`, which allow you to bring together multiple
26 resources to create a single output.
26 resources to create a single output.
@@ -33,14 +33,14 @@ you need to get started building a site with hakyll.
33
33
34 Specify which compilers and routes should be used on which
34 Specify which compilers and routes should be used on which
35 resources.
35 resources.
36−
36+
37 Also has combinators for grouping (necessary if you want to use
37 Also has combinators for grouping (necessary if you want to use
38 the same resources for multiple purposes), creating outputs that
38 the same resources for multiple purposes), creating outputs that
39 are not based on any resources, and even dynamically generating
39 are not based on any resources, and even dynamically generating
40 compilers.
40 compilers.
41
41
42* [Hakyll.Core.Identifier.Pattern](/reference/Hakyll-Core-Identifier-Pattern.html)
42* [Hakyll.Core.Identifier.Pattern](/reference/Hakyll-Core-Identifier-Pattern.html)
43−
43+
44 Combinators for creating *patterns*, i.e. predicates that pick out
44 Combinators for creating *patterns*, i.e. predicates that pick out
45 a set of resources: filesystem globs, arbitrary predicates,
45 a set of resources: filesystem globs, arbitrary predicates,
46 explicit lists, regular expressions, and so on.
46 explicit lists, regular expressions, and so on.
@@ -66,7 +66,7 @@ you need to get started building a site with hakyll.
66 The main `hakyll` function that runs the whole show. There is
66 The main `hakyll` function that runs the whole show. There is
67 also a `hakyllWith` function which allows for a custom
67 also a `hakyllWith` function which allows for a custom
68 configuration.
68 configuration.
69−
69+
70## Pre-packaged solutions
70## Pre-packaged solutions
71
71
72These modules contain some "pre-packaged" solutions for common
72These modules contain some "pre-packaged" solutions for common
@@ -108,7 +108,7 @@ inspiration for your own tools.
108 find and replace, split on regexp).
108 find and replace, split on regexp).
109
109
110* [Hakyll.Core.Writable.WritableTuple](/reference/Hakyll-Core-Writable-WritableTuple.html)
110* [Hakyll.Core.Writable.WritableTuple](/reference/Hakyll-Core-Writable-WritableTuple.html)
111−
111+
112 A utility type covering the situation where you generate some
112 A utility type covering the situation where you generate some
113 data, some of which you want to write to disk, and some of which
113 data, some of which you want to write to disk, and some of which
114 you don't want to write but will be needed in order to generate
114 you don't want to write but will be needed in order to generate