Skip to content

Commit

Permalink
Added installation instructions for 2 of the 3 options for plugins.
Browse files Browse the repository at this point in the history
Fixes #4013.
  • Loading branch information
antonk52 authored and parkr committed Oct 11, 2015
1 parent 9b091f8 commit 3eb2521
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/_docs/plugins.md
Expand Up @@ -31,15 +31,23 @@ Jekyll generates your site.
2. In your `_config.yml` file, add a new array with the key `gems` and the
values of the gem names of the plugins you'd like to use. An example:


gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets]
# This will require each of these gems automatically.

Then install your plugins using `gem install jekyll-test-plugin jekyll-jsonify jekyll-assets`

3. Add the relevant plugins to a Bundler group in your `Gemfile`. An
example:

group :jekyll_plugins do
gem "my-jekyll-plugin"
gem "another-jekyll-plugin"
end

Now you need to install all plugins from your Bundler group by running single command `bundle install`


<div class="note info">
<h5>
<code>_plugins</code>, <code>_config.yml</code> and <code>Gemfile</code>
Expand Down

0 comments on commit 3eb2521

Please sign in to comment.