diff --git a/history.md b/history.md
index 1c47a964..9e4a62bb 100644
--- a/history.md
+++ b/history.md
@@ -3,8 +3,15 @@
## HEAD
### Major Enhancements
### Minor Enhancements
+ * Commander error message now preferred over process abort with incorrect args (#1040)
+
### Bug Fixes
+ * Fix the index build with LSI (#1045)
+ * Don't print deprecation warning when no arguments are specified. (#1041)
+ * Add missing
to site template used by `new` subcommand, fixed typos in code (#1032)
+
### Site Enhancements
+ * Remove CSS cruft, fix typos, fix HTML errors (#1028)
* Removing manual install of Pip and Distribute (#1025)
* Updated URL for Markdown references plugin (#1022)
diff --git a/lib/jekyll/configuration.rb b/lib/jekyll/configuration.rb
index 4bc41682..d6856bb1 100644
--- a/lib/jekyll/configuration.rb
+++ b/lib/jekyll/configuration.rb
@@ -3,8 +3,8 @@
module Jekyll
class Configuration < Hash
- # Default options. Overriden by values in _config.yml.
- # Strings rather than symbols are used for compatability with YAML.
+ # Default options. Overridden by values in _config.yml.
+ # Strings rather than symbols are used for compatibility with YAML.
DEFAULTS = {
'source' => Dir.pwd,
'destination' => File.join(Dir.pwd, '_site'),
diff --git a/lib/jekyll/deprecator.rb b/lib/jekyll/deprecator.rb
index ae074f33..5b88fbf0 100644
--- a/lib/jekyll/deprecator.rb
+++ b/lib/jekyll/deprecator.rb
@@ -17,17 +17,15 @@ module Jekyll
end
def self.no_subcommand(args)
- if args.size == 0 || args.first =~ /^--/
+ if args.size > 0 && args.first =~ /^--/ && !%w[--help --version].include?(args.first)
Jekyll::Logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \
switches. Run `jekyll help' to find out more."
- exit(1)
end
end
def self.deprecation_message(args, deprecated_argument, message)
if args.include?(deprecated_argument)
Jekyll::Logger.error "Deprecation:", message
- exit(1)
end
end
end
diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb
index 388c86c3..571d854d 100644
--- a/lib/jekyll/post.rb
+++ b/lib/jekyll/post.rb
@@ -261,7 +261,7 @@ module Jekyll
puts "Starting the classifier..."
lsi = Classifier::LSI.new(:auto_rebuild => false)
$stdout.print(" Populating LSI... "); $stdout.flush
- posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) }
+ self.site.posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) }
$stdout.print("\n Rebuilding LSI index... ")
lsi.build_index
puts ""
diff --git a/lib/site_template/_layouts/default.html b/lib/site_template/_layouts/default.html
index ad1d3b85..46ebc109 100644
--- a/lib/site_template/_layouts/default.html
+++ b/lib/site_template/_layouts/default.html
@@ -39,7 +39,7 @@
-
+