From a721dae0a829b86c363b75b1a58b6a559e12e740 Mon Sep 17 00:00:00 2001 From: Christopher Nicotera Date: Wed, 21 Aug 2013 23:53:30 -0400 Subject: [PATCH] Fix docs server options override Override the source and destination before passing it along to the configuration --- bin/jekyll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/jekyll b/bin/jekyll index bfe13068..de5b51d3 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -122,10 +122,11 @@ command :docs do |c| c.action do |args, options| options = normalize_options(options.__hash__) - options = Jekyll.configuration(options).merge({ + options = options.merge({ 'source' => File.expand_path("../site", File.dirname(__FILE__)), 'destination' => File.expand_path("../site/_site", File.dirname(__FILE__)) }) + options = Jekyll.configuration(options) puts options Jekyll::Commands::Build.process(options) Jekyll::Commands::Serve.process(options)