Clarify paragraph on the return value of `generate`

This commit is contained in:
Jesse Pinho 2015-01-01 23:58:27 -06:00
parent b1a517ccb6
commit 07bd3a3759
1 changed files with 2 additions and 5 deletions

View File

@ -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