diff --git a/Rakefile b/Rakefile index 439a5366..b16e743f 100644 --- a/Rakefile +++ b/Rakefile @@ -146,10 +146,14 @@ namespace :site do # Generate the site in server mode. puts "Running Jekyll..." - Jekyll::Commands::Serve.process({ + options = { "source" => File.expand_path("site"), - "destination" => File.expand_path("site/_site") - }) + "destination" => File.expand_path("site/_site"), + "watch" => true, + "serving" => true + } + Jekyll::Commands::Build.process(options) + Jekyll::Commands::Serve.process(options) end desc "Generate the site" diff --git a/site/_docs/plugins.md b/site/_docs/plugins.md index df1de0cb..c80081fb 100644 --- a/site/_docs/plugins.md +++ b/site/_docs/plugins.md @@ -25,7 +25,7 @@ having to modify the Jekyll source itself. ## Installing a plugin -You have 2 options for installing plugins: +You have 3 options for installing plugins: 1. In your site source root, make a `_plugins` directory. Place your plugins here. Any file ending in `*.rb` inside this directory will be loaded before Jekyll @@ -35,6 +35,12 @@ You have 2 options for installing plugins: gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets] # This will require each of these gems automatically. +3. Add the relevant plugins to a Bundler group in your `Gemfile`. An + example: + + group :jekyll_plugins do + gem "my-jekyll-plugin" + end
Method | +Description | +
---|---|
+
|
+
+ This method accepts one parameter, the
+ |
+