Commit Graph

1425 Commits

Author SHA1 Message Date
Parker Moore 1f02150ee9 Merge pull request #1007 from michaelklishin/patch-1
Catch all exceptions, not just StandardError descendents
2013-04-30 12:59:02 -07:00
Michael Klishin 82ec02905e Catch all exceptions, not just StandardError descendents
We've hit a few edge cases in Liquid/Markdown rendering
with http://clojurewerkz.org documentation sites.
They resulted in exceptions Jekyll silently swallowed because
they were not StandardException subclasses.
2013-04-30 23:33:08 +04:00
Parker Moore 48fe514c54 Updating Configuration page in docs with the defaults 2013-04-30 16:08:21 +02:00
Parker Moore 0b1bc0c24d Update history to reflect merge of #1004 2013-04-30 15:54:58 +02:00
Parker Moore 7efd0a8d11 Merge pull request #1004 from uu59/fix_limit_posts_from_cli
Fix `jekyll serve --limit_posts n` failed
2013-04-30 06:53:05 -07:00
uu59 0f52f15cc2 Clean up code #1104 2013-04-29 21:07:46 +09:00
uu59 94756340cd Remove to_i. Let commander gem do it #1004 2013-04-29 15:56:02 +09:00
Parker Moore b4b66d5713 Merge pull request #1001 from mojombo/refactoring-convertible
Refactoring Jekyll::Convertible
2013-04-28 16:43:38 -07:00
Parker Moore 3237b39f21 Merge pull request #1002 from mojombo/refactor-post
Refactor Jekyll::Post
2013-04-28 16:40:22 -07:00
uu59 20a837d15c Change default value of limit_posts from nil to 0 (see #1004)
Before this commit meaning of limit_posts:
  nil: no limit. generate all posts
  0: raise error
  n ( > 0): generate n posts only
  n ( < 0): raise error
  else: raise error

After this commit:
  nil: same as 0
  0: no limit. generate all posts
  n ( > 0): generate n posts only
  n ( < 0): raise error
  else: almost same as 0 (depend on `to_i` result)
2013-04-29 01:41:22 +09:00
Parker Moore f7fde70f5f 'The Best of Both Worlds,' à la @chad's comment 2013-04-28 15:21:17 +02:00
uu59 ad2c706a34 Fix `jekyll serve --limit_posts n` failed 2013-04-28 02:03:08 +09:00
Parker Moore 46ce757b71 Compliant with Ruby 2.0.0 2013-04-26 21:20:48 +02:00
Parker Moore 5f13e00791 Comments for Convertible.render_all_layouts and Convertible.render_liquid 2013-04-26 21:09:02 +02:00
Parker Moore fcbab9a3ca Post#is_published ~> Post#published? 2013-04-26 21:00:47 +02:00
Parker Moore f7841d1713 Remove unnecessary self.tags.flatten! in favour of a one-line sol'n. 2013-04-26 20:59:54 +02:00
Parker Moore 422a4bd5cd Renamed tag- and category-instantiation methods 2013-04-26 20:25:07 +02:00
Parker Moore 6d9845a58b Refactor Post category instantiation 2013-04-26 20:23:58 +02:00
Parker Moore 482986e346 Refactored setting of Post.published flag 2013-04-26 20:21:17 +02:00
Parker Moore 266a52b161 The call to Post#read_yaml was in an unnecessary begin...rescue block. 2013-04-26 20:09:18 +02:00
Parker Moore 09c1c01d07 Refactor Post#related_posts to build the index in a different method 2013-04-26 20:05:52 +02:00
Parker Moore ffa93c22f1 Refactor Post#to_liquid 2013-04-26 20:03:57 +02:00
Parker Moore 29a1c18300 Refactoring Jekyll::Convertible 2013-04-26 19:36:52 +02:00
Parker Moore fe36b0f479 Update history to reflect fixing of #981 2013-04-26 19:16:23 +02:00
Parker Moore 217b2298d1 Update history to reflect fixing of #836 2013-04-26 19:13:21 +02:00
Parker Moore 6923865091 Update history to reflect fixing of #993 2013-04-26 19:12:32 +02:00
Parker Moore 6bb8b82a1e Update history to reflect merge of #989 2013-04-26 19:10:53 +02:00
Parker Moore 9a5a702e47 When one clones one's fork of Jekyll, one should not use the readonly git:// protocol. Instead, use SSH. 2013-04-26 19:09:11 +02:00
Parker Moore d2f364b60c Merge pull request #989 from mojombo/docs-proofreading
Proofread and fix up the documentation
2013-04-26 09:43:48 -07:00
Parker Moore 61c24c601a Add UTF-8 encoding where we read in YAML so it reads in UTF-8 characters properly. Fixes #836. 2013-04-25 02:15:25 +02:00
Parker Moore 5a20fa4382 --plugins can now accept plugin directories. Fixes #993. 2013-04-23 01:50:57 +02:00
Parker Moore 8ed092ed94 Merge branch 'master' of github.com:mojombo/jekyll
* 'master' of github.com:mojombo/jekyll:
  Moving comparison for PostUrl tag to the PostComparer class
  Fail if destination directory for jekyll new exists and is not empty. Fixes #981.
  Remove code duplication: #write in Page and Post is the same.
2013-04-23 01:41:43 +02:00
Parker Moore 24aabbe05f Moving comparison for PostUrl tag to the PostComparer class 2013-04-22 12:57:52 +02:00
Matt Rogers 47f8fb5091 Don't end an independent thought with a preposition. 2013-04-19 22:56:19 -05:00
Matt Rogers b05afb022f Use 'the' instead of 'a' 2013-04-19 22:51:18 -05:00
Matt Rogers 7d59df92b3 Use 'from' instead of 'at' 2013-04-19 22:50:45 -05:00
Matt Rogers 94449c4088 Tell people to update the site not the wiki.
We want to kill the wiki with fire.
2013-04-18 23:17:09 -05:00
Matt Rogers 7d3dcc0116 Fix the link to the Homebrew wiki 2013-04-18 23:17:09 -05:00
Matt Rogers 898d9d13a8 Remove the word 'also' when describing Typo migrations.
The use of the 'also' is out of place here. We're only talking about one thing.
2013-04-18 23:17:08 -05:00
Matt Rogers 35a59ab766 Use 'newer' instead of 'future'
When talking about versions of Drupal greater than 6.1, use the word newer to
indicate that those versions have already been released. The word future implies
that those versions haven't been released yet.
2013-04-18 23:17:08 -05:00
Matt Rogers 205e65d017 Be explicit about what we require when migrating systems
We require access to the database from the old system and we're generating posts
for Jekyll.
2013-04-18 23:17:08 -05:00
Matt Rogers 96fa05ac3d Make the text clearer for the layout option 2013-04-18 23:17:08 -05:00
Matt Rogers a8361315ed Add a missing 'the'
We're serving the website. There can be only one.
2013-04-18 23:17:08 -05:00
Matt Rogers f5a4d36efc Add a missing comma
We have three or more terms with a single conjunction. According to Strunk and
White, we need a comma.
2013-04-18 23:17:08 -05:00
Matt Rogers c06bb76610 Fix a verb tense mismatch 2013-04-18 23:17:08 -05:00
Matt Rogers ef6ae8c073 Add a word that was missing 2013-04-18 23:17:08 -05:00
Matt Rogers 2e65658920 Fix up some verbiage that didn't jive quite right. 2013-04-18 23:17:08 -05:00
Matt Rogers 8d7be33dfb Wrap at 80 columns 2013-04-18 23:16:53 -05:00
Parker Moore ba64a9fe30 Fail if destination directory for jekyll new exists and is not empty. Fixes #981. 2013-04-16 18:24:10 +02:00
Parker Moore 6ed41e373c Remove code duplication: #write in Page and Post is the same. 2013-04-16 02:55:31 +02:00