Commit graph

1539 commits

Author SHA1 Message Date
Jasper Van der Jeugt
808353bce4 Enable Pandoc highlighting by default 2013-09-29 17:52:58 +02:00
Jasper Van der Jeugt
364aa7bedc contribution 2013-09-29 15:53:46 +02:00
Jasper Van der Jeugt
cd5c78c4d6 Bump version (4.4.0.0), update changelog 2013-09-29 15:09:45 +02:00
Jasper Van der Jeugt
4948b56452 Merge remote-tracking branch 'piyush-kurur/master'
Conflicts:
	web/examples.markdown
2013-09-29 14:51:50 +02:00
Piyush P Kurur
48c579fd24 added piyush's homepage to examples 2013-09-28 10:15:28 +05:30
Jasper Van der Jeugt
5e2ec54b1b Add dikmax.name to examples 2013-09-26 01:00:33 +02:00
Jasper Van der Jeugt
72c91dd1c1 Restrict pandoc version a bit more 2013-09-18 22:42:28 +02:00
Jorge Israel Peña
a590a9a57f updated to work with pandoc 1.12
Pandoc 1.12 decouples citeproc-hs from itself, so there is no longer a
Text.Pandoc.Biblio module in Pandoc. Further, citeproc-hs depends on
pandoc-types 1.10 but Pandoc 1.12 depends on pandoc-types 1.12. To
alleviate these issues, pandoc-citeproc was created which includes a
copy of the citeproc-hs source made to be compatible, since the
developer of citeproc-hs is apparently MIA.

pandoc-citeproc is a separate module that handles the mixture of
citeproc-hs and Pandoc. It includes `processCites` in Text.CSL.Pandoc,
which is the new name of what used to be `processBiblio` from
Text.Pandoc.Biblio

Most of these changes are seamless, consisting of simple name changes in
both functions and modules. However, a more direct change in the
Hakyll API itself is that `readPandocBiblio`'s second parameter, the
CSL, is now mandatory, i.e. not of type Maybe. This is to reflect the
same change in the underlying processing function from Text.CSL.Pandoc,
`processCites`, where the Style argument is now mandatory, and the style
is derived from the CSL.

See the old function:

    processBiblio :: Maybe Style -> [Reference] -> Pandoc -> Pandoc

Compared to the new one:

    processCites :: Style -> [Reference] -> Pandoc -> Pandoc

Sources:

* http://hackage.haskell.org/packages/archive/pandoc/1.11.1/doc/html/Text-Pandoc-Biblio.html
* http://hackage.haskell.org/packages/archive/pandoc-citeproc/0.1/doc/html/Text-CSL-Pandoc.html

Similarly, there is no longer a `readerReferences` field in the reader
options structure.
2013-09-18 22:38:54 +02:00
Jasper Van der Jeugt
36f9a9cfeb Merge pull request #181 from clinty/cryptohash0.10
Build with cryptohash 0.10.
2013-09-17 00:09:00 -07:00
Jasper Van der Jeugt
160e7501d6 Merge pull request #180 from clinty/quickcheck2.6
Work with QuickCheck 2.6
2013-09-17 00:08:29 -07:00
Clint Adams
1d67ba5b63 Build with cryptohash 0.10. 2013-09-16 23:34:58 -04:00
Clint Adams
b609472488 Work with QuickCheck 2.6 2013-09-16 23:33:37 -04:00
Jasper Van der Jeugt
e9ec407ba9 Merge pull request #179 from saeidw/windows-site-root
Fix incorrect output of toSiteRoot on Windows.
2013-09-16 13:02:54 -07:00
Saeid Al-Wazzan
a796988a16 Fix incorrect output of toSiteRoot on Windows.
toSiteRoot uses splitPath, joinPath, and takeDirectory from the
System.FilePath module. On Windows systems, the implementation of
joinPath will build up a path using the Windows path separator "\\".

We don't want this behavior since the paths we are working with
are always URLs, so we force POSIX behavior for System.FilePath.
2013-09-16 01:17:38 +03:00
Jasper Van der Jeugt
11d5b8064a Merge pull request #178 from blaenk/port-option
add preview port Configuration field
2013-08-30 10:45:50 -07:00
Jorge Israel Peña
999252ece1 add preview port Configuration field
Make it possible to specify the default port to listen on when the
preview server is run. This is useful if another service on the system
already runs on port 8000 (the default), since it's a hassle to keep
providing the port overriding option. For example: ./site preview vs.
./site preview -p 4000
2013-08-29 22:43:57 -07:00
Jasper Van der Jeugt
94d7281a2c Merge pull request #177 from stoltene2/master
Adding a watch command
2013-08-28 11:48:21 -07:00
Eric Stolten
866a282f19 * Preview now shows the deprecation message and calls watch.
* Details on how to disable the server in the command description.
2013-08-28 13:11:44 -04:00
Jasper Van der Jeugt
015c7c5b12 Merge pull request #176 from gwern/patch-1
Update examples.markdown: gwern.net repo home
2013-08-26 09:23:31 -07:00
Eric Stolten
f01b641649 1. Added the WATCH_SERVER flag that is enabled by default
1. Added an argument to watch, --no-server which will disable the embedded server.
1. Added a deprecation message to the preview mode
2013-08-25 22:49:50 -04:00
Eric Stolten
fbc43b3a04 Merge branch 'upstream-master' 2013-08-20 22:03:04 -04:00
Eric Stolten
f14f52040a Added a watch command that will continually poll for changes and rebuild them. 2013-08-20 21:59:39 -04:00
gwern
16488d648c Update examples.markdown: gwern.net repo home
I've ceased hosting the repo myself since it has grown to 1.6GB, and instead put it on Patch-tag.com, so the command is no longer correct.
2013-08-19 14:35:30 -04:00
Jasper Van der Jeugt
5679681ac1 Change type: metadataField :: Context a
Closes #175
2013-08-16 11:48:26 +02:00
Jasper Van der Jeugt
64569d7b72 Fix versions & metadata loading issue
Closes #171
2013-08-14 00:18:31 +02:00
Jasper Van der Jeugt
faa90283bf Explode when using mapContext over ListField 2013-08-13 01:38:18 +02:00
Jasper Van der Jeugt
0b111066b0 Add eanalytica.com to examples 2013-08-13 00:58:20 +02:00
Jasper Van der Jeugt
fad9134fd4 Add functionField again 2013-08-10 16:19:23 +02:00
Jasper Van der Jeugt
ab0aebb3c3 Add mapContext again 2013-08-05 12:25:55 +02:00
Jasper Van der Jeugt
e12c4e36ff Merge pull request #170 from duplode/master
Added scr.stunts.hu to the example sites.
2013-08-02 11:24:40 -07:00
Daniel Mlot
98dea4c06c Added scr.stunts.hu to the example sites. 2013-08-02 02:12:52 -03:00
Jasper Van der Jeugt
a31a7bd738 Add nickcharlton.net to examples 2013-07-16 11:56:04 +02:00
Jasper Van der Jeugt
325dbd19d4 Merge pull request #168 from Keruspe/master
Fix check of escaped internal uris
2013-07-07 13:47:19 -07:00
Marc-Antoine Perennou
82a38a742a check: unescape internal uris
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-07-07 19:02:21 +02:00
Jasper Van der Jeugt
23efeb2405 Merge pull request #166 from uu1101/doc-fix
Correct example code: parseGlob ==> fromGlob
2013-07-01 01:34:01 -07:00
uu1101
b5803bc7b6 Correct example code: parseGlob ==> fromGlob 2013-06-30 19:21:17 +02:00
Jasper Van der Jeugt
06cfafbf0d Add darkfox.us.to to examples 2013-06-18 12:17:57 +02:00
Jasper Van der Jeugt
a3c4d06ff9 Merge pull request #162 from uu1101/seq-stderr
Deepseq stderr before closing the handle
2013-06-17 04:43:06 -07:00
Jasper Van der Jeugt
920ddbb389 Add xinitrc.de to examples 2013-06-17 13:36:17 +02:00
Jasper Van der Jeugt
3ceaaf9430 Version bump (4.3.1.0) 2013-06-17 12:06:12 +02:00
Jasper Van der Jeugt
c4e6b7fd8d Update teaser tutorial 2013-06-17 12:03:52 +02:00
Jasper Van der Jeugt
6814ff2e9b Only add teaser when <!--more--> is there 2013-06-17 12:01:22 +02:00
Jasper Van der Jeugt
25e15846a2 Tighten network dependency 2013-06-16 21:56:58 +02:00
Jasper Van der Jeugt
832c6d3f9a Merge pull request #165 from nagisa/uri-sanitise
Better sanitising for URIs
2013-06-16 09:05:41 -07:00
Simonas Kazlauskas
72ed15e174 Make toUri sanitise all characters needed 2013-06-16 15:11:04 +03:00
Simonas Kazlauskas
d456f6ebf7 More tests for toUrl function 2013-06-16 14:57:31 +03:00
Jasper Van der Jeugt
537e72333f Sanitize URLs in toUrl
Closes #163
2013-06-15 20:15:33 +02:00
uu1101
a1e778d1e5 Set handle encoding as per locale 2013-06-14 01:02:14 +02:00
uu1101
cf501485b1 Deepseq stderr before closing the handle
Otherwise laziness allows for the handle to be closed withouth receiving the
input. This caused that no error messages were printed when `unixFilter`s
failed.
2013-06-14 00:32:45 +02:00
Jasper Van der Jeugt
a591b1622f All ready for the 4.3 release! 2013-06-12 12:15:53 +02:00