From 3eb25217ce52d0b7ac49619490f801f65fde9fdc Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 11 Oct 2015 14:35:52 -0700 Subject: [PATCH] Added installation instructions for 2 of the 3 options for plugins. Fixes #4013. --- site/_docs/plugins.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/_docs/plugins.md b/site/_docs/plugins.md index dd920058..6be050d8 100644 --- a/site/_docs/plugins.md +++ b/site/_docs/plugins.md @@ -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` + +
_plugins, _config.yml and Gemfile