rebase changelog
This commit is contained in:
commit
6928d5b550
|
@ -3,8 +3,15 @@
|
||||||
## HEAD
|
## HEAD
|
||||||
### Major Enhancements
|
### Major Enhancements
|
||||||
### Minor Enhancements
|
### Minor Enhancements
|
||||||
|
* Commander error message now preferred over process abort with incorrect args (#1040)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
* Fix the index build with LSI (#1045)
|
||||||
|
* Don't print deprecation warning when no arguments are specified. (#1041)
|
||||||
|
* Add missing <div> to site template used by `new` subcommand, fixed typos in code (#1032)
|
||||||
|
|
||||||
### Site Enhancements
|
### Site Enhancements
|
||||||
|
* Remove CSS cruft, fix typos, fix HTML errors (#1028)
|
||||||
* Removing manual install of Pip and Distribute (#1025)
|
* Removing manual install of Pip and Distribute (#1025)
|
||||||
* Updated URL for Markdown references plugin (#1022)
|
* Updated URL for Markdown references plugin (#1022)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
module Jekyll
|
module Jekyll
|
||||||
class Configuration < Hash
|
class Configuration < Hash
|
||||||
|
|
||||||
# Default options. Overriden by values in _config.yml.
|
# Default options. Overridden by values in _config.yml.
|
||||||
# Strings rather than symbols are used for compatability with YAML.
|
# Strings rather than symbols are used for compatibility with YAML.
|
||||||
DEFAULTS = {
|
DEFAULTS = {
|
||||||
'source' => Dir.pwd,
|
'source' => Dir.pwd,
|
||||||
'destination' => File.join(Dir.pwd, '_site'),
|
'destination' => File.join(Dir.pwd, '_site'),
|
||||||
|
|
|
@ -17,17 +17,15 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.no_subcommand(args)
|
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 \
|
Jekyll::Logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \
|
||||||
switches. Run `jekyll help' to find out more."
|
switches. Run `jekyll help' to find out more."
|
||||||
exit(1)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.deprecation_message(args, deprecated_argument, message)
|
def self.deprecation_message(args, deprecated_argument, message)
|
||||||
if args.include?(deprecated_argument)
|
if args.include?(deprecated_argument)
|
||||||
Jekyll::Logger.error "Deprecation:", message
|
Jekyll::Logger.error "Deprecation:", message
|
||||||
exit(1)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -261,7 +261,7 @@ module Jekyll
|
||||||
puts "Starting the classifier..."
|
puts "Starting the classifier..."
|
||||||
lsi = Classifier::LSI.new(:auto_rebuild => false)
|
lsi = Classifier::LSI.new(:auto_rebuild => false)
|
||||||
$stdout.print(" Populating LSI... "); $stdout.flush
|
$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... ")
|
$stdout.print("\n Rebuilding LSI index... ")
|
||||||
lsi.build_index
|
lsi.build_index
|
||||||
puts ""
|
puts ""
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div> <!-- /container -->
|
</div> <!-- /container -->
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -32,5 +32,5 @@
|
||||||
<option value="{{ site.url }}/docs/sites">Sites using Jekyll</option>
|
<option value="{{ site.url }}/docs/sites">Sites using Jekyll</option>
|
||||||
<option value="{{ site.url }}/docs/resources">Resources</option>
|
<option value="{{ site.url }}/docs/resources">Resources</option>
|
||||||
</optgroup>
|
</optgroup>
|
||||||
<select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,7 +16,7 @@ in the terminal.
|
||||||
### Global Configuration
|
### Global Configuration
|
||||||
|
|
||||||
The table below lists the available settings for Jekyll, and the various <code
|
The table below lists the available settings for Jekyll, and the various <code
|
||||||
class="option">options</code> (specifed in the configuration file) and <code
|
class="option">options</code> (specified in the configuration file) and <code
|
||||||
class="flag">flags</code> (specified on the command-line) that control them.
|
class="flag">flags</code> (specified on the command-line) that control them.
|
||||||
|
|
||||||
<div class="mobile-side-scroller">
|
<div class="mobile-side-scroller">
|
||||||
|
|
|
@ -41,6 +41,6 @@ Jekyll’s growing use is producing a wide variety of tutorials, frameworks, ext
|
||||||
|
|
||||||
- [Jekyll Extensions -= Pain](http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/)
|
- [Jekyll Extensions -= Pain](http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/)
|
||||||
|
|
||||||
A way to [extend Jekyll](http://github.com/rfelix/jekyll_ext) without forking and modifying the Jekyll gem codebase and some [portable Jekyll extensions](http://wiki.github.com/rfelix/jekyll_ext/extensions) that can be reutilized and shared.
|
A way to [extend Jekyll](http://github.com/rfelix/jekyll_ext) without forking and modifying the Jekyll gem codebase and some [portable Jekyll extensions](http://wiki.github.com/rfelix/jekyll_ext/extensions) that can be reused and shared.
|
||||||
|
|
||||||
- [Using your Rails layouts in Jekyll](http://numbers.brighterplanet.com/2010/08/09/sharing-rails-views-with-jekyll)
|
- [Using your Rails layouts in Jekyll](http://numbers.brighterplanet.com/2010/08/09/sharing-rails-views-with-jekyll)
|
||||||
|
|
|
@ -11,7 +11,7 @@ If you ever run into problems installing or using Jekyll, here’s a few tips th
|
||||||
|
|
||||||
If you encounter errors during gem installation, you may need to install
|
If you encounter errors during gem installation, you may need to install
|
||||||
the header files for compiling extension modules for ruby 1.9.1. This
|
the header files for compiling extension modules for ruby 1.9.1. This
|
||||||
can be done on Ubunutu or Debian by running:
|
can be done on Ubuntu or Debian by running:
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
sudo apt-get install ruby1.9.1-dev
|
sudo apt-get install ruby1.9.1-dev
|
||||||
|
|
|
@ -38,7 +38,7 @@ Rather than passing individual flags via the command line, you can now pass an
|
||||||
entire custom Jekyll config file. This helps to distinguish between
|
entire custom Jekyll config file. This helps to distinguish between
|
||||||
environments, or lets you programmatically override user-specified defaults.
|
environments, or lets you programmatically override user-specified defaults.
|
||||||
Simply add the `--config` flag to the `jekyll` command, followed by the path
|
Simply add the `--config` flag to the `jekyll` command, followed by the path
|
||||||
to one or more config files (comma-deliminated, no spaces).
|
to one or more config files (comma-delimited, no spaces).
|
||||||
|
|
||||||
#### As a result, the following command line flags are now deprecated:
|
#### As a result, the following command line flags are now deprecated:
|
||||||
|
|
||||||
|
|
|
@ -250,7 +250,7 @@ body > footer a:hover img {
|
||||||
margin: 0 20px;
|
margin: 0 20px;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
border-radius: 5px 5px 0 0;
|
border-radius: 5px 5px 0 0;
|
||||||
box-shadow: box-shadow: 0 3px 10px rgba(0,0,0,.5);
|
box-shadow: 0 3px 10px rgba(0,0,0,.5);
|
||||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
@ -447,7 +447,6 @@ body > footer a:hover img {
|
||||||
padding: 8px 12px 10px;
|
padding: 8px 12px 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
/*border: 1px solid #333;*/
|
/*border: 1px solid #333;*/
|
||||||
background: #999;
|
|
||||||
box-shadow: 0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5);
|
box-shadow: 0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5);
|
||||||
background: #777;
|
background: #777;
|
||||||
}
|
}
|
||||||
|
@ -702,7 +701,7 @@ code.option, code.flag, code.filter, code.output {
|
||||||
margin-left: -30px;
|
margin-left: -30px;
|
||||||
padding: 20px 20px 24px;
|
padding: 20px 20px 24px;
|
||||||
padding-left: 50px;
|
padding-left: 50px;
|
||||||
border-radius: 0px 5px 5px 0px;
|
border-radius: 0 5px 5px 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3);
|
box-shadow: 0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3);
|
||||||
background: #7e6d42;
|
background: #7e6d42;
|
||||||
|
|
|
@ -535,7 +535,7 @@ class TestPost < Test::Unit::TestCase
|
||||||
assert conv.kind_of? Jekyll::Converters::Markdown
|
assert conv.kind_of? Jekyll::Converters::Markdown
|
||||||
end
|
end
|
||||||
|
|
||||||
should "process .text as indentity under default configuration" do
|
should "process .text as identity under default configuration" do
|
||||||
post = setup_post '2011-04-12-text-extension.text'
|
post = setup_post '2011-04-12-text-extension.text'
|
||||||
conv = post.converter
|
conv = post.converter
|
||||||
assert conv.kind_of? Jekyll::Converters::Identity
|
assert conv.kind_of? Jekyll::Converters::Identity
|
||||||
|
|
Loading…
Reference in New Issue