jekyll 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- data/History.markdown +470 -0
- data/README.textile +9 -9
- data/jekyll.gemspec +3 -3
- data/lib/jekyll.rb +1 -1
- data/lib/jekyll/configuration.rb +2 -2
- data/lib/jekyll/converters/markdown/rdiscount_parser.rb +11 -2
- data/lib/jekyll/converters/markdown/redcarpet_parser.rb +45 -16
- data/lib/jekyll/deprecator.rb +1 -3
- data/lib/jekyll/post.rb +1 -1
- data/lib/site_template/_layouts/default.html +1 -1
- data/site/_includes/docs_contents_mobile.html +1 -1
- data/site/_posts/2012-07-01-configuration.md +1 -1
- data/site/_posts/2012-07-01-extras.md +0 -2
- data/site/_posts/2012-07-01-github-pages.md +1 -1
- data/site/_posts/2012-07-01-plugins.md +1 -1
- data/site/_posts/2012-07-01-resources.md +1 -1
- data/site/_posts/2012-07-01-troubleshooting.md +1 -1
- data/site/_posts/2012-07-01-upgrading.md +2 -2
- data/site/css/style.css +2 -3
- data/test/test_post.rb +1 -1
- data/test/test_redcarpet.rb +30 -8
- metadata +3 -3
- data/History.txt +0 -437
data/README.textile
CHANGED
@@ -9,20 +9,20 @@ Jekyll is a simple, blog aware, static site generator. It takes a template direc
|
|
9
9
|
|
10
10
|
h2. Getting Started
|
11
11
|
|
12
|
-
* "Install":http://
|
13
|
-
* Read up about its "Usage":http://
|
12
|
+
* "Install":http://jekyllrb.com/docs/installation/ the gem
|
13
|
+
* Read up about its "Usage":http://jekyllrb.com/docs/usage/ and "Configuration":http://jekyllrb.com/docs/configuration/
|
14
14
|
* Take a gander at some existing "Sites":http://wiki.github.com/mojombo/jekyll/sites
|
15
|
-
* Fork and "Contribute":
|
15
|
+
* Fork and "Contribute":https://github.com/mojombo/jekyll/blob/master/CONTRIBUTING.md your own modifications
|
16
16
|
* Have questions? Post them on the "Mailing List":http://groups.google.com/group/jekyll-rb
|
17
17
|
|
18
18
|
h2. Diving In
|
19
19
|
|
20
|
-
* "Migrate":http://
|
21
|
-
* Learn how the "YAML Front Matter":http://
|
22
|
-
* Put information on your site with "
|
23
|
-
* Customize the "Permalinks":http://
|
24
|
-
* Use the built-in "Liquid Extensions":http://
|
25
|
-
* Use custom "Plugins":http://
|
20
|
+
* "Migrate":http://jekyllrb.com/docs/migrations/ from your previous system
|
21
|
+
* Learn how the "YAML Front Matter":http://jekyllrb.com/docs/frontmatter/ works
|
22
|
+
* Put information on your site with "Variables":http://jekyllrb.com/docs/variables/
|
23
|
+
* Customize the "Permalinks":http://jekyllrb.com/docs/permalinks/ your posts are generated with
|
24
|
+
* Use the built-in "Liquid Extensions":http://jekyllrb.com/docs/templates/ to make your life easier
|
25
|
+
* Use custom "Plugins":http://jekyllrb.com/docs/plugins/ to generate content specific to your site
|
26
26
|
|
27
27
|
h2. Runtime Dependencies
|
28
28
|
|
data/jekyll.gemspec
CHANGED
@@ -4,9 +4,9 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'jekyll'
|
7
|
-
s.version = '1.0.
|
7
|
+
s.version = '1.0.1'
|
8
8
|
s.license = 'MIT'
|
9
|
-
s.date = '2013-05-
|
9
|
+
s.date = '2013-05-08'
|
10
10
|
s.rubyforge_project = 'jekyll'
|
11
11
|
|
12
12
|
s.summary = "A simple, blog aware, static site generator."
|
@@ -50,7 +50,7 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.files = %w[
|
51
51
|
CONTRIBUTING.md
|
52
52
|
Gemfile
|
53
|
-
History.
|
53
|
+
History.markdown
|
54
54
|
LICENSE
|
55
55
|
README.textile
|
56
56
|
Rakefile
|
data/lib/jekyll.rb
CHANGED
@@ -56,7 +56,7 @@ require_all 'jekyll/tags'
|
|
56
56
|
SafeYAML::OPTIONS[:suppress_warnings] = true
|
57
57
|
|
58
58
|
module Jekyll
|
59
|
-
VERSION = '1.0.
|
59
|
+
VERSION = '1.0.1'
|
60
60
|
|
61
61
|
# Public: Generate a Jekyll configuration Hash by merging the default
|
62
62
|
# options with anything in _config.yml, and adding the given options on top.
|
data/lib/jekyll/configuration.rb
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
module Jekyll
|
4
4
|
class Configuration < Hash
|
5
5
|
|
6
|
-
# Default options.
|
7
|
-
# Strings rather than symbols are used for
|
6
|
+
# Default options. Overridden by values in _config.yml.
|
7
|
+
# Strings rather than symbols are used for compatibility with YAML.
|
8
8
|
DEFAULTS = {
|
9
9
|
'source' => Dir.pwd,
|
10
10
|
'destination' => File.join(Dir.pwd, '_site'),
|
@@ -15,11 +15,20 @@ module Jekyll
|
|
15
15
|
def convert(content)
|
16
16
|
rd = RDiscount.new(content, *@rdiscount_extensions)
|
17
17
|
html = rd.to_html
|
18
|
-
if
|
19
|
-
html
|
18
|
+
if @config['rdiscount']['toc_token']
|
19
|
+
html = replace_generated_toc(rd, html, @config['rdiscount']['toc_token'])
|
20
20
|
end
|
21
21
|
html
|
22
22
|
end
|
23
|
+
|
24
|
+
private
|
25
|
+
def replace_generated_toc(rd, html, toc_token)
|
26
|
+
if rd.generate_toc && html.include?(toc_token)
|
27
|
+
html.gsub(toc_token, rd.toc_content.force_encoding('utf-8'))
|
28
|
+
else
|
29
|
+
html
|
30
|
+
end
|
31
|
+
end
|
23
32
|
end
|
24
33
|
end
|
25
34
|
end
|
@@ -2,28 +2,57 @@ module Jekyll
|
|
2
2
|
module Converters
|
3
3
|
class Markdown
|
4
4
|
class RedcarpetParser
|
5
|
+
|
6
|
+
module CommonMethods
|
7
|
+
def add_code_tags(code, lang)
|
8
|
+
code = code.sub(/<pre>/, "<pre><code class=\"#{lang} language-#{lang}\">")
|
9
|
+
code = code.sub(/<\/pre>/,"</code></pre>")
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module WithPygments
|
14
|
+
include CommonMethods
|
15
|
+
def block_code(code, lang)
|
16
|
+
require 'pygments'
|
17
|
+
lang = lang && lang.split.first || "text"
|
18
|
+
output = add_code_tags(
|
19
|
+
Pygments.highlight(code, :lexer => lang, :options => { :encoding => 'utf-8' }),
|
20
|
+
lang
|
21
|
+
)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module WithoutPygments
|
26
|
+
require 'cgi'
|
27
|
+
|
28
|
+
include CommonMethods
|
29
|
+
|
30
|
+
def code_wrap(code)
|
31
|
+
"<div class=\"highlight\"><pre>#{CGI::escapeHTML(code)}</pre></div>"
|
32
|
+
end
|
33
|
+
|
34
|
+
def block_code(code, lang)
|
35
|
+
lang = lang && lang.split.first || "text"
|
36
|
+
output = add_code_tags(code_wrap(code), lang)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
5
40
|
def initialize(config)
|
6
41
|
require 'redcarpet'
|
7
|
-
require 'pygments'
|
8
42
|
@config = config
|
9
43
|
@redcarpet_extensions = {}
|
10
44
|
@config['redcarpet']['extensions'].each { |e| @redcarpet_extensions[e.to_sym] = true }
|
11
45
|
|
12
|
-
@renderer ||=
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
code = code.sub(/<pre>/,'<pre><code class="' + lang + '">')
|
23
|
-
code = code.sub(/<\/pre>/,"</code></pre>")
|
24
|
-
end
|
25
|
-
end
|
26
|
-
rescue LoadError
|
46
|
+
@renderer ||= if @config['pygments']
|
47
|
+
Class.new(Redcarpet::Render::HTML) do
|
48
|
+
include WithPygments
|
49
|
+
end
|
50
|
+
else
|
51
|
+
Class.new(Redcarpet::Render::HTML) do
|
52
|
+
include WithoutPygments
|
53
|
+
end
|
54
|
+
end
|
55
|
+
rescue LoadErro
|
27
56
|
STDERR.puts 'You are missing a library required for Markdown. Please run:'
|
28
57
|
STDERR.puts ' $ [sudo] gem install redcarpet'
|
29
58
|
raise FatalException.new("Missing dependency: redcarpet")
|
data/lib/jekyll/deprecator.rb
CHANGED
@@ -17,17 +17,15 @@ module Jekyll
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.no_subcommand(args)
|
20
|
-
if args.size
|
20
|
+
if args.size > 0 && args.first =~ /^--/ && !%w[--help --version].include?(args.first)
|
21
21
|
Jekyll::Logger.error "Deprecation:", "Jekyll now uses subcommands instead of just \
|
22
22
|
switches. Run `jekyll help' to find out more."
|
23
|
-
exit(1)
|
24
23
|
end
|
25
24
|
end
|
26
25
|
|
27
26
|
def self.deprecation_message(args, deprecated_argument, message)
|
28
27
|
if args.include?(deprecated_argument)
|
29
28
|
Jekyll::Logger.error "Deprecation:", message
|
30
|
-
exit(1)
|
31
29
|
end
|
32
30
|
end
|
33
31
|
end
|
data/lib/jekyll/post.rb
CHANGED
@@ -261,7 +261,7 @@ module Jekyll
|
|
261
261
|
puts "Starting the classifier..."
|
262
262
|
lsi = Classifier::LSI.new(:auto_rebuild => false)
|
263
263
|
$stdout.print(" Populating LSI... "); $stdout.flush
|
264
|
-
posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) }
|
264
|
+
self.site.posts.each { |x| $stdout.print("."); $stdout.flush; lsi.add_item(x) }
|
265
265
|
$stdout.print("\n Rebuilding LSI index... ")
|
266
266
|
lsi.build_index
|
267
267
|
puts ""
|
@@ -16,7 +16,7 @@ in the terminal.
|
|
16
16
|
### Global Configuration
|
17
17
|
|
18
18
|
The table below lists the available settings for Jekyll, and the various <code
|
19
|
-
class="option">options</code> (
|
19
|
+
class="option">options</code> (specified in the configuration file) and <code
|
20
20
|
class="flag">flags</code> (specified on the command-line) that control them.
|
21
21
|
|
22
22
|
<div class="mobile-side-scroller">
|
@@ -5,7 +5,7 @@ prev_section: extras
|
|
5
5
|
next_section: deployment-methods
|
6
6
|
---
|
7
7
|
|
8
|
-
[GitHub Pages](
|
8
|
+
[GitHub Pages](http://pages.github.com) are public web pages for users,
|
9
9
|
organizations, and repositories, that are freely hosted on GitHub's
|
10
10
|
[github.io]() domain or on a custom domain name of your choice. GitHub Pages are
|
11
11
|
powered by Jekyll behind the scenes, so in addition to supporting regular HTML
|
@@ -383,7 +383,7 @@ There are a few useful, prebuilt plugins at the following locations:
|
|
383
383
|
- [Raw Tag by phaer.](https://gist.github.com/1020852): Keeps liquid from parsing text betweeen `{{ "{% raw " }}%}` and `{{ "{% endraw " }}%}`
|
384
384
|
- [URL encoding by James An](https://gist.github.com/919275)
|
385
385
|
- [Sitemap.xml Generator by Michael Levin](http://www.kinnetica.com/projects/jekyll-sitemap-generator/)
|
386
|
-
- [Markdown references by Olov Lassus](https://
|
386
|
+
- [Markdown references by Olov Lassus](https://github.com/olov/jekyll-references): Keep all your markdown reference-style link definitions in one file (_references.md)
|
387
387
|
- [Full-text search by Pascal Widdershoven](https://github.com/PascalW/jekyll_indextank): Add full-text search to your Jekyll site with this plugin and a bit of JavaScript.
|
388
388
|
- [Stylus Converter](https://gist.github.com/988201) Convert .styl to .css.
|
389
389
|
- [Embed.ly client by Robert Böhnke](https://github.com/robb/jekyll-embedly-client) Autogenerate embeds from URLs using oEmbed.
|
@@ -41,6 +41,6 @@ Jekyll’s growing use is producing a wide variety of tutorials, frameworks, ext
|
|
41
41
|
|
42
42
|
- [Jekyll Extensions -= Pain](http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/)
|
43
43
|
|
44
|
-
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
|
44
|
+
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.
|
45
45
|
|
46
46
|
- [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
|
|
11
11
|
|
12
12
|
If you encounter errors during gem installation, you may need to install
|
13
13
|
the header files for compiling extension modules for ruby 1.9.1. This
|
14
|
-
can be done on
|
14
|
+
can be done on Ubuntu or Debian by running:
|
15
15
|
|
16
16
|
{% highlight bash %}
|
17
17
|
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
|
|
38
38
|
entire custom Jekyll config file. This helps to distinguish between
|
39
39
|
environments, or lets you programmatically override user-specified defaults.
|
40
40
|
Simply add the `--config` flag to the `jekyll` command, followed by the path
|
41
|
-
to one or more config files (comma-
|
41
|
+
to one or more config files (comma-delimited, no spaces).
|
42
42
|
|
43
43
|
#### As a result, the following command line flags are now deprecated:
|
44
44
|
|
@@ -85,7 +85,7 @@ Often, you'll want the ability to run a Jekyll site in multiple places, such as
|
|
85
85
|
previewing locally before pushing to GitHub Pages. Jekyll 1.0 makes that
|
86
86
|
easier with the new `--baseurl` flag. To take advantage of this feature, first
|
87
87
|
add the production `baseurl` to your site's `_config.yml` file. Then,
|
88
|
-
throughout the site, simply prefix relative URLs with `{{ site.baseurl }}`.
|
88
|
+
throughout the site, simply prefix relative URLs with `{% raw %}{{ site.baseurl }}{% endraw %}`.
|
89
89
|
When you're ready to preview your site locally, pass along the `--baseurl` flag
|
90
90
|
with your local baseurl (most likely `/`) to `jekyll serve` and Jekyll will
|
91
91
|
swap in whatever you've passed along, ensuring all your links work as you'd
|
data/site/css/style.css
CHANGED
@@ -250,7 +250,7 @@ body > footer a:hover img {
|
|
250
250
|
margin: 0 20px;
|
251
251
|
padding: 5px 0;
|
252
252
|
border-radius: 5px 5px 0 0;
|
253
|
-
box-shadow:
|
253
|
+
box-shadow: 0 3px 10px rgba(0,0,0,.5);
|
254
254
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
255
255
|
font-size: 16px;
|
256
256
|
font-weight: normal;
|
@@ -447,7 +447,6 @@ body > footer a:hover img {
|
|
447
447
|
padding: 8px 12px 10px;
|
448
448
|
border-radius: 5px;
|
449
449
|
/*border: 1px solid #333;*/
|
450
|
-
background: #999;
|
451
450
|
box-shadow: 0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5);
|
452
451
|
background: #777;
|
453
452
|
}
|
@@ -702,7 +701,7 @@ code.option, code.flag, code.filter, code.output {
|
|
702
701
|
margin-left: -30px;
|
703
702
|
padding: 20px 20px 24px;
|
704
703
|
padding-left: 50px;
|
705
|
-
border-radius:
|
704
|
+
border-radius: 0 5px 5px 0;
|
706
705
|
position: relative;
|
707
706
|
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);
|
708
707
|
background: #7e6d42;
|
data/test/test_post.rb
CHANGED
@@ -535,7 +535,7 @@ class TestPost < Test::Unit::TestCase
|
|
535
535
|
assert conv.kind_of? Jekyll::Converters::Markdown
|
536
536
|
end
|
537
537
|
|
538
|
-
should "process .text as
|
538
|
+
should "process .text as identity under default configuration" do
|
539
539
|
post = setup_post '2011-04-12-text-extension.text'
|
540
540
|
conv = post.converter
|
541
541
|
assert conv.kind_of? Jekyll::Converters::Identity
|
data/test/test_redcarpet.rb
CHANGED
@@ -3,17 +3,17 @@ require 'helper'
|
|
3
3
|
class TestRedcarpet < Test::Unit::TestCase
|
4
4
|
context "redcarpet" do
|
5
5
|
setup do
|
6
|
-
config = {
|
6
|
+
@config = {
|
7
7
|
'redcarpet' => { 'extensions' => ['smart', 'strikethrough', 'filter_html'] },
|
8
8
|
'markdown' => 'redcarpet'
|
9
9
|
}
|
10
|
-
@markdown = Converters::Markdown.new config
|
10
|
+
@markdown = Converters::Markdown.new @config
|
11
11
|
end
|
12
12
|
|
13
13
|
should "pass redcarpet options" do
|
14
14
|
assert_equal "<h1>Some Header</h1>", @markdown.convert('# Some Header #').strip
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
should "pass redcarpet SmartyPants options" do
|
18
18
|
assert_equal "<p>“smart”</p>", @markdown.convert('"smart"').strip
|
19
19
|
end
|
@@ -26,14 +26,36 @@ class TestRedcarpet < Test::Unit::TestCase
|
|
26
26
|
assert_equal "<p><strong>bad code not here</strong>: i am bad</p>", @markdown.convert('**bad code not here**: <script>i am bad</script>').strip
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
context "with pygments enabled" do
|
30
|
+
setup do
|
31
|
+
@markdown = Converters::Markdown.new @config.merge({ 'pygments' => true })
|
32
|
+
end
|
33
|
+
|
34
|
+
should "render fenced code blocks with syntax highlighting" do
|
35
|
+
assert_equal "<div class=\"highlight\"><pre><code class=\"ruby language-ruby\"><span class=\"nb\">puts</span> <span class=\"s2\">"Hello world"</span>\n</code></pre></div>", @markdown.convert(
|
36
|
+
<<-EOS
|
37
|
+
```ruby
|
38
|
+
puts "Hello world"
|
39
|
+
```
|
40
|
+
EOS
|
41
|
+
).strip
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context "with pygments disabled" do
|
46
|
+
setup do
|
47
|
+
@markdown = Converters::Markdown.new @config.merge({ 'pygments' => false })
|
48
|
+
end
|
49
|
+
|
50
|
+
should "render fenced code blocks without syntax highlighting" do
|
51
|
+
assert_equal "<div class=\"highlight\"><pre><code class=\"ruby language-ruby\">puts "Hello world"\n</code></pre></div>", @markdown.convert(
|
52
|
+
<<-EOS
|
32
53
|
```ruby
|
33
54
|
puts "Hello world"
|
34
55
|
```
|
35
|
-
EOS
|
36
|
-
|
56
|
+
EOS
|
57
|
+
).strip
|
58
|
+
end
|
37
59
|
end
|
38
60
|
end
|
39
61
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: liquid
|
@@ -364,7 +364,7 @@ extra_rdoc_files:
|
|
364
364
|
files:
|
365
365
|
- CONTRIBUTING.md
|
366
366
|
- Gemfile
|
367
|
-
- History.
|
367
|
+
- History.markdown
|
368
368
|
- LICENSE
|
369
369
|
- README.textile
|
370
370
|
- Rakefile
|
data/History.txt
DELETED
@@ -1,437 +0,0 @@
|
|
1
|
-
== HEAD
|
2
|
-
* Major Enhancements
|
3
|
-
* Add `jekyll new` subcommand: generate a jekyll scaffold (#764)
|
4
|
-
* Refactored jekyll commands into subcommands: build, serve, and migrate. (#690)
|
5
|
-
* Removed importers/migrators from main project, migrated to jekyll-import sub-gem (#793)
|
6
|
-
* Added ability to render drafts in _drafts folder via command line (#833)
|
7
|
-
* Add ordinal date permalink style (/:categories/:year/:y_day/:title.html) (#928)
|
8
|
-
* Minor Enhancements
|
9
|
-
* Site template HTML5-ified (#964)
|
10
|
-
* Use post's directory path when matching for the post_url tag (#998)
|
11
|
-
* Loosen dependency on Pygments so it's only required when it's needed (#1015)
|
12
|
-
* Parse strings into Time objects for date-related Liquid filters (#1014)
|
13
|
-
* Tell the user if there is no subcommand specified (#1008)
|
14
|
-
* Freak out if the destination of `jekyll new` exists and is non-empty (#981)
|
15
|
-
* Add `timezone` configuration option for compilation (#957)
|
16
|
-
* Add deprecation messages for pre-1.0 CLI options (#959)
|
17
|
-
* Refactor and colorize logging (#959)
|
18
|
-
* Refactor Markdown parsing (#955)
|
19
|
-
* Added application/vnd.apple.pkpass to mime.types served by WEBrick (#907)
|
20
|
-
* Move template site to default markdown renderer (#961)
|
21
|
-
* Expose new attribute to Liquid via `page`: `page.path` (#951)
|
22
|
-
* Accept multiple config files from command line (#945)
|
23
|
-
* Add page variable to liquid custom tags and blocks (#413)
|
24
|
-
* Add paginator.previous_page_path and paginator.next_page_path (#942)
|
25
|
-
* Backwards compatibility for 'auto' (#821, #934)
|
26
|
-
* Added date_to_rfc822 used on RSS feeds (#892)
|
27
|
-
* Upgrade version of pygments.rb to 0.4.2 (#927)
|
28
|
-
* Added short month (e.g. "Sep") to permalink style options for posts (#890)
|
29
|
-
* Expose site.baseurl to Liquid templates (#869)
|
30
|
-
* Adds excerpt attribute to posts which contains first paragraph of content (#837)
|
31
|
-
* Accept custom configuration file via CLI (#863)
|
32
|
-
* Load in GitHub Pages MIME Types on `jekyll serve` (#847, #871)
|
33
|
-
* Improve debugability of error message for a malformed highlight tag (#785)
|
34
|
-
* Allow symlinked files in unsafe mode (#824)
|
35
|
-
* Add 'gist' Liquid tag to core (#822, #861)
|
36
|
-
* New format of Jekyll output (#795)
|
37
|
-
* Reinstate --limit_posts and --future switches (#788)
|
38
|
-
* Remove ambiguity from command descriptions (#815)
|
39
|
-
* Fix SafeYAML Warnings (#807)
|
40
|
-
* Relaxed Kramdown version to 0.14 (#808)
|
41
|
-
* Aliased `jekyll server` to `jekyll serve`. (#792)
|
42
|
-
* Updated gem versions for Kramdown, Rake, Shoulda, Cucumber, and RedCarpet. (#744)
|
43
|
-
* Refactored jekyll subcommands into Jekyll::Commands submodule, which now contains them (#768)
|
44
|
-
* Rescue from import errors in Wordpress.com migrator (#671)
|
45
|
-
* Massively accelerate LSI performance (#664)
|
46
|
-
* Truncate post slugs when importing from Tumblr (#496)
|
47
|
-
* Add glob support to include, exclude option (#743)
|
48
|
-
* Layout of Page or Post defaults to 'page' or 'post', respectively (#580)
|
49
|
-
REPEALED by (#977)
|
50
|
-
* "Keep files" feature (#685)
|
51
|
-
* Output full path & name for files that don't parse (#745)
|
52
|
-
* Add source and destination directory protection (#535)
|
53
|
-
* Better YAML error message (#718)
|
54
|
-
* Bug Fixes
|
55
|
-
* Paginate in subdirectories properly (#1016)
|
56
|
-
* Ensure post and page URLs have a leading slash (#992)
|
57
|
-
* Catch all exceptions, not just StandardError descendents (#1007)
|
58
|
-
* Bullet-proof limit_posts option (#1004)
|
59
|
-
* Read in YAML as UTF-8 to accept non-ASCII chars (#836)
|
60
|
-
* Fix the CLI option --plugins to actually accept dirs and files (#993)
|
61
|
-
* Allow 'excerpt' in YAML Front-Matter to override the extracted excerpt (#946)
|
62
|
-
* Fix cascade problem with site.baseurl, site.port and site.host. (#935)
|
63
|
-
* Filter out directories with valid post names (#875)
|
64
|
-
* Fix symlinked static files not being correctly built in unsafe mode (#909)
|
65
|
-
* Fix integration with directory_watcher 1.4.x (#916)
|
66
|
-
* Accepting strings as arguments to jekyll-import command (#910)
|
67
|
-
* Force usage of older directory_watcher gem as 1.5 is broken (#883)
|
68
|
-
* Ensure all Post categories are downcase (#842, #872)
|
69
|
-
* Force encoding of the rdiscount TOC to UTF8 to avoid conversion errors (#555)
|
70
|
-
* Patch for multibyte URI problem with jekyll serve (#723)
|
71
|
-
* Order plugin execution by priority (#864)
|
72
|
-
* Fixed Page#dir and Page#url for edge cases (#536)
|
73
|
-
* Fix broken post_url with posts with a time in their YAML Front-Matter (#831)
|
74
|
-
* Look for plugins under the source directory (#654)
|
75
|
-
* Tumblr Migrator: finds _posts dir correctly, fixes truncation of long
|
76
|
-
post names (#775)
|
77
|
-
* Force Categories to be Strings (#767)
|
78
|
-
* Safe YAML plugin to prevent vulnerability (#777)
|
79
|
-
* Add SVG support to Jekyll/WEBrick. (#407, #406)
|
80
|
-
* Prevent custom destination from causing continuous regen on watch (#528, #820, #862)
|
81
|
-
* Site Enhancements
|
82
|
-
* Responsify (#860)
|
83
|
-
* Fix spelling, punctuation and phrasal errors (#989)
|
84
|
-
* Update quickstart instructions with `new` command (#966)
|
85
|
-
* Add docs for page.excerpt (#956)
|
86
|
-
* Add docs for page.path (#951)
|
87
|
-
* Clean up site docs to prepare for 1.0 release (#918)
|
88
|
-
* Bring site into master branch with better preview/deploy (#709)
|
89
|
-
* Redesigned site (#583)
|
90
|
-
* Development Fixes
|
91
|
-
* Exclude Cucumber 1.2.4, which causes tests to fail in 1.9.2 (#938)
|
92
|
-
* Added "features:html" rake task for debugging purposes, cleaned up
|
93
|
-
cucumber profiles (#832)
|
94
|
-
* Explicitly require HTTPS rubygems source in Gemfile (#826)
|
95
|
-
* Changed Ruby version for development to 1.9.3-p374 from p362 (#801)
|
96
|
-
* Including a link to the GitHub Ruby style guide in CONTRIBUTING.md (#806)
|
97
|
-
* Added script/bootstrap (#776)
|
98
|
-
* Running Simplecov under 2 conditions: ENV(COVERAGE)=true and with Ruby version
|
99
|
-
of greater than 1.9 (#771)
|
100
|
-
* Switch to Simplecov for coverage report (#765)
|
101
|
-
|
102
|
-
== 0.12.1 / 2013-02-19
|
103
|
-
* Minor Enhancements
|
104
|
-
* Update Kramdown version to 0.14.1 (#744)
|
105
|
-
* Test Enhancements
|
106
|
-
* Update Rake version to 10.0.3 (#744)
|
107
|
-
* Update Shoulda version to 3.3.2 (#744)
|
108
|
-
* Update Redcarpet version to 2.2.2 (#744)
|
109
|
-
|
110
|
-
== 0.12.0 / 2012-12-22
|
111
|
-
* Minor Enhancements
|
112
|
-
* Add ability to explicitly specify included files (#261)
|
113
|
-
* Add --default-mimetype option (#279)
|
114
|
-
* Allow setting of RedCloth options (#284)
|
115
|
-
* Add post_url Liquid tag for internal post linking (#369)
|
116
|
-
* Allow multiple plugin dirs to be specified (#438)
|
117
|
-
* Inline TOC token support for RDiscount (#333)
|
118
|
-
* Add the option to specify the paginated url format (#342)
|
119
|
-
* Swap out albino for pygments.rb (#569)
|
120
|
-
* Support Redcarpet 2 and fenced code blocks (#619)
|
121
|
-
* Better reporting of Liquid errors (#624)
|
122
|
-
* Bug Fixes
|
123
|
-
* Allow some special characters in highlight names
|
124
|
-
* URL escape category names in URL generation (#360)
|
125
|
-
* Fix error with limit_posts (#442)
|
126
|
-
* Properly select dotfile during directory scan (#363, #431, #377)
|
127
|
-
* Allow setting of Kramdown smart_quotes (#482)
|
128
|
-
* Ensure front-matter is at start of file (#562)
|
129
|
-
|
130
|
-
== 0.11.2 / 2011-12-27
|
131
|
-
* Bug Fixes
|
132
|
-
* Fix gemspec
|
133
|
-
|
134
|
-
== 0.11.1 / 2011-12-27
|
135
|
-
* Bug Fixes
|
136
|
-
* Fix extra blank line in highlight blocks (#409)
|
137
|
-
* Update dependencies
|
138
|
-
|
139
|
-
== 0.11.0 / 2011-07-10
|
140
|
-
* Major Enhancements
|
141
|
-
* Add command line importer functionality (#253)
|
142
|
-
* Add Redcarpet Markdown support (#318)
|
143
|
-
* Make markdown/textile extensions configurable (#312)
|
144
|
-
* Add `markdownify` filter
|
145
|
-
* Minor Enhancements
|
146
|
-
* Switch to Albino gem
|
147
|
-
* Bundler support
|
148
|
-
* Use English library to avoid hoops (#292)
|
149
|
-
* Add Posterous importer (#254)
|
150
|
-
* Fixes for Wordpress importer (#274, #252, #271)
|
151
|
-
* Better error message for invalid post date (#291)
|
152
|
-
* Print formatted fatal exceptions to stdout on build failure
|
153
|
-
* Add Tumblr importer (#323)
|
154
|
-
* Add Enki importer (#320)
|
155
|
-
* Bug Fixes
|
156
|
-
* Secure additional path exploits
|
157
|
-
|
158
|
-
== 0.10.0 / 2010-12-16
|
159
|
-
* Bug Fixes
|
160
|
-
* Add --no-server option.
|
161
|
-
|
162
|
-
== 0.9.0 / 2010-12-15
|
163
|
-
* Minor Enhancements
|
164
|
-
* Use OptionParser's [no-] functionality for better boolean parsing.
|
165
|
-
* Add Drupal migrator (#245)
|
166
|
-
* Complain about YAML and Liquid errors (#249)
|
167
|
-
* Remove orphaned files during regeneration (#247)
|
168
|
-
* Add Marley migrator (#28)
|
169
|
-
|
170
|
-
== 0.8.0 / 2010-11-22
|
171
|
-
* Minor Enhancements
|
172
|
-
* Add wordpress.com importer (#207)
|
173
|
-
* Add --limit-posts cli option (#212)
|
174
|
-
* Add uri_escape filter (#234)
|
175
|
-
* Add --base-url cli option (#235)
|
176
|
-
* Improve MT migrator (#238)
|
177
|
-
* Add kramdown support (#239)
|
178
|
-
* Bug Fixes
|
179
|
-
* Fixed filename basename generation (#208)
|
180
|
-
* Set mode to UTF8 on Sequel connections (#237)
|
181
|
-
* Prevent _includes dir from being a symlink
|
182
|
-
|
183
|
-
== 0.7.0 / 2010-08-24
|
184
|
-
* Minor Enhancements
|
185
|
-
* Add support for rdiscount extensions (#173)
|
186
|
-
* Bug Fixes
|
187
|
-
* Highlight should not be able to render local files
|
188
|
-
* The site configuration may not always provide a 'time' setting (#184)
|
189
|
-
|
190
|
-
== 0.6.2 / 2010-06-25
|
191
|
-
* Bug Fixes
|
192
|
-
* Fix Rakefile 'release' task (tag pushing was missing origin)
|
193
|
-
* Ensure that RedCloth is loaded when textilize filter is used (#183)
|
194
|
-
* Expand source, destination, and plugin paths (#180)
|
195
|
-
* Fix page.url to include full relative path (#181)
|
196
|
-
|
197
|
-
== 0.6.1 / 2010-06-24
|
198
|
-
* Bug Fixes
|
199
|
-
* Fix Markdown Pygments prefix and suffix (#178)
|
200
|
-
|
201
|
-
== 0.6.0 / 2010-06-23
|
202
|
-
* Major Enhancements
|
203
|
-
* Proper plugin system (#19, #100)
|
204
|
-
* Add safe mode so unsafe converters/generators can be added
|
205
|
-
* Maruku is now the only processor dependency installed by default.
|
206
|
-
Other processors will be lazy-loaded when necessary (and prompt the
|
207
|
-
user to install them when necessary) (#57)
|
208
|
-
* Minor Enhancements
|
209
|
-
* Inclusion/exclusion of future dated posts (#59)
|
210
|
-
* Generation for a specific time (#59)
|
211
|
-
* Allocate site.time on render not per site_payload invocation (#59)
|
212
|
-
* Pages now present in the site payload and can be used through the
|
213
|
-
site.pages and site.html_pages variables
|
214
|
-
* Generate phase added to site#process and pagination is now a generator
|
215
|
-
* Switch to RakeGem for build/test process
|
216
|
-
* Only regenerate static files when they have changed (#142)
|
217
|
-
* Allow arbitrary options to Pygments (#31)
|
218
|
-
* Allow URL to be set via command line option (#147)
|
219
|
-
* Bug Fixes
|
220
|
-
* Render highlighted code for non markdown/textile pages (#116)
|
221
|
-
* Fix highlighting on Ruby 1.9 (#65)
|
222
|
-
* Fix extension munging when pretty permalinks are enabled (#64)
|
223
|
-
* Stop sorting categories (#33)
|
224
|
-
* Preserve generated attributes over front matter (#119)
|
225
|
-
* Fix source directory binding using Dir.pwd (#75)
|
226
|
-
|
227
|
-
== 0.5.7 / 2010-01-12
|
228
|
-
* Minor Enhancements
|
229
|
-
* Allow overriding of post date in the front matter (#62, #38)
|
230
|
-
* Bug Fixes
|
231
|
-
* Categories isn't always an array (#73)
|
232
|
-
* Empty tags causes error in read_posts (#84)
|
233
|
-
* Fix pagination to adhere to read/render/write paradigm
|
234
|
-
* Test Enhancement
|
235
|
-
* cucumber features no longer use site.posts.first where a better
|
236
|
-
alternative is available
|
237
|
-
|
238
|
-
== 0.5.6 / 2010-01-08
|
239
|
-
* Bug Fixes
|
240
|
-
* Require redcloth >= 4.2.1 in tests (#92)
|
241
|
-
* Don't break on triple dashes in yaml frontmatter (#93)
|
242
|
-
* Minor Enhancements
|
243
|
-
* Allow .mkd as markdown extension
|
244
|
-
* Use $stdout/err instead of constants (#99)
|
245
|
-
* Properly wrap code blocks (#91)
|
246
|
-
* Add javascript mime type for webrick (#98)
|
247
|
-
|
248
|
-
== 0.5.5 / 2010-01-08
|
249
|
-
* Bug Fixes
|
250
|
-
* Fix pagination % 0 bug (#78)
|
251
|
-
* Ensure all posts are processed first (#71)
|
252
|
-
|
253
|
-
== NOTE
|
254
|
-
* After this point I will no longer be giving credit in the history;
|
255
|
-
that is what the commit log is for.
|
256
|
-
|
257
|
-
== 0.5.4 / 2009-08-23
|
258
|
-
* Bug Fixes
|
259
|
-
* Do not allow symlinks (security vulnerability)
|
260
|
-
|
261
|
-
== 0.5.3 / 2009-07-14
|
262
|
-
* Bug Fixes
|
263
|
-
* Solving the permalink bug where non-html files wouldn't work
|
264
|
-
[github.com/jeffrydegrande]
|
265
|
-
|
266
|
-
== 0.5.2 / 2009-06-24
|
267
|
-
* Enhancements
|
268
|
-
* Added --paginate option to the executable along with a paginator object
|
269
|
-
for the payload [github.com/calavera]
|
270
|
-
* Upgraded RedCloth to 4.2.1, which makes <notextile> tags work once
|
271
|
-
again.
|
272
|
-
* Configuration options set in config.yml are now available through the
|
273
|
-
site payload [github.com/vilcans]
|
274
|
-
* Posts can now have an empty YAML front matter or none at all
|
275
|
-
[github.com/bahuvrihi]
|
276
|
-
* Bug Fixes
|
277
|
-
* Fixing Ruby 1.9 issue that requires to_s on the err object
|
278
|
-
[github.com/Chrononaut]
|
279
|
-
* Fixes for pagination and ordering posts on the same day [github.com/ujh]
|
280
|
-
* Made pages respect permalinks style and permalinks in yml front matter
|
281
|
-
[github.com/eugenebolshakov]
|
282
|
-
* Index.html file should always have index.html permalink
|
283
|
-
[github.com/eugenebolshakov]
|
284
|
-
* Added trailing slash to pretty permalink style so Apache is happy
|
285
|
-
[github.com/eugenebolshakov]
|
286
|
-
* Bad markdown processor in config fails sooner and with better message
|
287
|
-
[github.com/gcnovus]
|
288
|
-
* Allow CRLFs in yaml frontmatter [github.com/juretta]
|
289
|
-
* Added Date#xmlschema for Ruby versions < 1.9
|
290
|
-
|
291
|
-
== 0.5.1 / 2009-05-06
|
292
|
-
* Major Enhancements
|
293
|
-
* Next/previous posts in site payload [github.com/pantulis,
|
294
|
-
github.com/tomo]
|
295
|
-
* Permalink templating system
|
296
|
-
* Moved most of the README out to the GitHub wiki
|
297
|
-
* Exclude option in configuration so specified files won't be brought over
|
298
|
-
with generated site [github.com/duritong]
|
299
|
-
* Bug Fixes
|
300
|
-
* Making sure config.yaml references are all gone, using only config.yml
|
301
|
-
* Fixed syntax highlighting breaking for UTF-8 code [github.com/henrik]
|
302
|
-
* Worked around RDiscount bug that prevents Markdown from getting parsed
|
303
|
-
after highlight [github.com/henrik]
|
304
|
-
* CGI escaped post titles [github.com/Chrononaut]
|
305
|
-
|
306
|
-
== 0.5.0 / 2009-04-07
|
307
|
-
* Minor Enhancements
|
308
|
-
* Ability to set post categories via YAML [github.com/qrush]
|
309
|
-
* Ability to set prevent a post from publishing via YAML
|
310
|
-
[github.com/qrush]
|
311
|
-
* Add textilize filter [github.com/willcodeforfoo]
|
312
|
-
* Add 'pretty' permalink style for wordpress-like urls
|
313
|
-
[github.com/dysinger]
|
314
|
-
* Made it possible to enter categories from YAML as an array
|
315
|
-
[github.com/Chrononaut]
|
316
|
-
* Ignore Emacs autosave files [github.com/Chrononaut]
|
317
|
-
* Bug Fixes
|
318
|
-
* Use block syntax of popen4 to ensure that subprocesses are properly
|
319
|
-
disposed [github.com/jqr]
|
320
|
-
* Close open4 streams to prevent zombies [github.com/rtomayko]
|
321
|
-
* Only query required fields from the WP Database [github.com/ariejan]
|
322
|
-
* Prevent _posts from being copied to the destination directory
|
323
|
-
[github.com/bdimcheff]
|
324
|
-
* Refactors
|
325
|
-
* Factored the filtering code into a method [github.com/Chrononaut]
|
326
|
-
* Fix tests and convert to Shoulda [github.com/qrush,
|
327
|
-
github.com/technicalpickles]
|
328
|
-
* Add Cucumber acceptance test suite [github.com/qrush,
|
329
|
-
github.com/technicalpickles]
|
330
|
-
|
331
|
-
== 0.4.1
|
332
|
-
* Minor Enhancements
|
333
|
-
* Changed date format on wordpress converter (zeropadding)
|
334
|
-
[github.com/dysinger]
|
335
|
-
* Bug Fixes
|
336
|
-
* Add jekyll binary as executable to gemspec [github.com/dysinger]
|
337
|
-
|
338
|
-
== 0.4.0 / 2009-02-03
|
339
|
-
* Major Enhancements
|
340
|
-
* Switch to Jeweler for packaging tasks
|
341
|
-
* Minor Enhancements
|
342
|
-
* Type importer [github.com/codeslinger]
|
343
|
-
* site.topics accessor [github.com/baz]
|
344
|
-
* Add array_to_sentence_string filter [github.com/mchung]
|
345
|
-
* Add a converter for textpattern [github.com/PerfectlyNormal]
|
346
|
-
* Add a working Mephisto / MySQL converter [github.com/ivey]
|
347
|
-
* Allowing .htaccess files to be copied over into the generated site
|
348
|
-
[github.com/briandoll]
|
349
|
-
* Add option to not put file date in permalink URL [github.com/mreid]
|
350
|
-
* Add line number capabilities to highlight blocks [github.com/jcon]
|
351
|
-
* Bug Fixes
|
352
|
-
* Fix permalink behavior [github.com/cavalle]
|
353
|
-
* Fixed an issue with pygments, markdown, and newlines
|
354
|
-
[github.com/zpinter]
|
355
|
-
* Ampersands need to be escaped [github.com/pufuwozu, github.com/ap]
|
356
|
-
* Test and fix the site.categories hash [github.com/zzot]
|
357
|
-
* Fix site payload available to files [github.com/matrix9180]
|
358
|
-
|
359
|
-
== 0.3.0 / 2008-12-24
|
360
|
-
* Major Enhancements
|
361
|
-
* Added --server option to start a simple WEBrick server on destination
|
362
|
-
directory [github.com/johnreilly and github.com/mchung]
|
363
|
-
* Minor Enhancements
|
364
|
-
* Added post categories based on directories containing _posts
|
365
|
-
[github.com/mreid]
|
366
|
-
* Added post topics based on directories underneath _posts
|
367
|
-
* Added new date filter that shows the full month name [github.com/mreid]
|
368
|
-
* Merge Post's YAML front matter into its to_liquid payload
|
369
|
-
[github.com/remi]
|
370
|
-
* Restrict includes to regular files underneath _includes
|
371
|
-
* Bug Fixes
|
372
|
-
* Change YAML delimiter matcher so as to not chew up 2nd level markdown
|
373
|
-
headers [github.com/mreid]
|
374
|
-
* Fix bug that meant page data (such as the date) was not available in
|
375
|
-
templates [github.com/mreid]
|
376
|
-
* Properly reject directories in _layouts
|
377
|
-
|
378
|
-
== 0.2.1 / 2008-12-15
|
379
|
-
* Major Changes
|
380
|
-
* Use Maruku (pure Ruby) for Markdown by default [github.com/mreid]
|
381
|
-
* Allow use of RDiscount with --rdiscount flag
|
382
|
-
* Minor Enhancements
|
383
|
-
* Don't load directory_watcher unless it's needed [github.com/pjhyett]
|
384
|
-
|
385
|
-
== 0.2.0 / 2008-12-14
|
386
|
-
* Major Changes
|
387
|
-
* related_posts is now found in site.related_posts
|
388
|
-
|
389
|
-
== 0.1.6 / 2008-12-13
|
390
|
-
* Major Features
|
391
|
-
* Include files in _includes with {% include x.textile %}
|
392
|
-
|
393
|
-
== 0.1.5 / 2008-12-12
|
394
|
-
* Major Features
|
395
|
-
* Code highlighting with Pygments if --pygments is specified
|
396
|
-
* Disable true LSI by default, enable with --lsi
|
397
|
-
* Minor Enhancements
|
398
|
-
* Output informative message if RDiscount is not available
|
399
|
-
[github.com/JackDanger]
|
400
|
-
* Bug Fixes
|
401
|
-
* Prevent Jekyll from picking up the output directory as a source
|
402
|
-
[github.com/JackDanger]
|
403
|
-
* Skip related_posts when there is only one post [github.com/JackDanger]
|
404
|
-
|
405
|
-
== 0.1.4 / 2008-12-08
|
406
|
-
* Bug Fixes
|
407
|
-
* DATA does not work properly with rubygems
|
408
|
-
|
409
|
-
== 0.1.3 / 2008-12-06
|
410
|
-
* Major Features
|
411
|
-
* Markdown support [github.com/vanpelt]
|
412
|
-
* Mephisto and CSV converters [github.com/vanpelt]
|
413
|
-
* Code hilighting [github.com/vanpelt]
|
414
|
-
* Autobuild
|
415
|
-
* Bug Fixes
|
416
|
-
* Accept both \r\n and \n in YAML header [github.com/vanpelt]
|
417
|
-
|
418
|
-
== 0.1.2 / 2008-11-22
|
419
|
-
* Major Features
|
420
|
-
* Add a real "related posts" implementation using Classifier
|
421
|
-
* Command Line Changes
|
422
|
-
* Allow cli to be called with 0, 1, or 2 args intuiting dir paths
|
423
|
-
if they are omitted
|
424
|
-
|
425
|
-
== 0.1.1 / 2008-11-22
|
426
|
-
* Minor Additions
|
427
|
-
* Posts now support introspectional data e.g. {{ page.url }}
|
428
|
-
|
429
|
-
== 0.1.0 / 2008-11-05
|
430
|
-
* First release
|
431
|
-
* Converts posts written in Textile
|
432
|
-
* Converts regular site pages
|
433
|
-
* Simple copy of binary files
|
434
|
-
|
435
|
-
== 0.0.0 / 2008-10-19
|
436
|
-
* Birthday!
|
437
|
-
|