From 07bd3a3759d8f5b6a4854239cff347b5b23c581f Mon Sep 17 00:00:00 2001 From: Jesse Pinho Date: Thu, 1 Jan 2015 23:58:27 -0600 Subject: [PATCH] Clarify paragraph on the return value of `generate` --- site/_docs/plugins.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/site/_docs/plugins.md b/site/_docs/plugins.md index 605cbf68..b5cf9543 100644 --- a/site/_docs/plugins.md +++ b/site/_docs/plugins.md @@ -66,11 +66,8 @@ based on your own rules. A generator is a subclass of `Jekyll::Generator` that defines a `generate` method, which receives an instance of -[`Jekyll::Site`]({{ site.repository }}/blob/master/lib/jekyll/site.rb). - -The return value of `generate` is ignored, since generation is triggered for -its side effects. Jekyll does not expect any particular side effect to -happen---it just runs the method. +[`Jekyll::Site`]({{ site.repository }}/blob/master/lib/jekyll/site.rb). The +return value of `generate` is ignored. Generators run after Jekyll has made an inventory of the existing content, and before the site is generated. Pages with YAML Front Matters are stored as