Commit Graph

2683 Commits

Author SHA1 Message Date
Parker Moore
b781b9967d Proxy Convertible#render_all_layouts to Renderer.place_in_layouts 2016-08-30 14:04:57 -07:00
jekyllbot
6b121d2d85 Merge pull request #5045 from ayastreb/document-rubocop-fix
Merge pull request 5045
2016-08-30 13:34:55 -07:00
Parker Moore
2b15b0b325 Site#configure_theme: don't do anything if theme config is unset; TEST 2016-08-30 12:17:24 -07:00
Parker Moore
4420c3b2af Make Site#configure_theme more understandable 2016-08-30 11:58:21 -07:00
Frank Taillandier
a9da814f17 add basename and name variables for static files 2016-08-27 11:22:24 +02:00
Heng, K. (Stephen)
7892c5e1f3 Fix issue #5276, where path strips root destination dir if filename matches 2016-08-25 18:35:09 +08:00
Anatoliy Yastreb
2183d9d6b4 Implement respond_to_missing? in Document 2016-08-25 12:13:34 +02:00
Anatoliy Yastreb
158e02623a rubocop: reduce code complexity 2016-08-25 11:22:40 +02:00
David Zhang
9c33754f4f Exclude Gemfile in _config.yml template 2016-08-25 14:54:59 +08:00
Frank Taillandier
326332a5d5 Rename filename to name 2016-08-21 21:32:26 +02:00
Frank Taillandier
87c00b2756 Get static filename 2016-08-20 17:42:05 +02:00
Heng, K. (Stephen)
596f5d1af3 Proposed fix for #5192
Strip drive name only when necessary.
2016-08-18 12:02:00 +08:00
Ashwin Maroli
a9f92278d3 colorize interpolated text in Jekyll.logger.info 2016-08-16 22:50:54 +05:30
Jordon Bedwell
f1f8319566 Fix #5233: Increase our ability to detect Windows.
This increases our ability to detect Windows, and to detect Windows+Bash.  It also adds a message to Windows for users who try to "--watch", also noting to to them to check out the Windows ticket so eventually somebody pings us if this issue is fixed. /cc @TAGraves
2016-08-16 03:46:03 -05:00
Parker Moore
b937757dce Site#configure_theme: warn in case the 'theme' config is not a string 2016-08-07 12:03:50 -07:00
Stephen Checkoway
6167c09569 Run hooks in priority order.
Low priority hooks are being run before higher priority hooks. This is easy to
demonstrate with the following plugin:

    1.upto(10).each do |n|
      Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:low] do
        puts "Low #{n}"
      end
      Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:normal] do
        puts "Normal #{n}"
      end
      Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:high] do
        puts "High #{n}"
      end
    end

Sorting by the negative of the priority and then by the order the hook was
added does the right thing.
2016-08-06 20:56:34 -05:00
Jeff Kolesky
e0ce4a00f8 Fixes link tag to work with static files 2016-08-04 20:03:01 -07:00
Jeff Kolesky
82d6657ae8 Adds ability to link to all files
Fixes request made in #4624 and bug found in #5182
2016-08-03 15:08:26 -07:00
Ben Balter
58cd8f3f4e use jekyll-feed for default site RSS feed 2016-08-03 12:10:44 -04:00
Parker Moore
2bd592077d Site#configure_theme: do not set theme unless it's a string
Some previous ad-hoc 'themes' used this configuration option to store a hash of values.
In that case, we should simply pretend we have no theme.
2016-08-02 17:11:40 -07:00
Parker Moore
15dc18343c Add release post for 3.2.1 & update History & version 2016-08-02 16:17:28 -07:00
jekyllbot
6e0119d5e1 Merge pull request #5164 from jekyll/fix-windows-error
Merge pull request 5164
2016-08-01 17:34:52 -07:00
jekyllbot
95e9774100 Merge pull request #5156 from jekyll/theme-source-fix
Merge pull request 5156
2016-08-01 17:27:02 -07:00
Parker Moore
d4e18fc979 Layout: set relative_path without using Pathname
Presently, on a Windows machine, you get an ArgumentError on Windows:

     Generating...
C:/Ruby23-x64/lib/ruby/2.3.0/pathname.rb:520:in `relative_path_from':
    different prefix: "/" and "C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1" (ArgumentError)
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.2.0/lib/jekyll/layout.rb:61:in `relative_path'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.2.0/lib/jekyll/renderer.rb:161:in `place_in_layouts'
    from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.2.0/lib/jekyll/renderer.rb:71:in `run'

This doesn't affect filesystems which do not use drive names.
2016-07-29 12:16:06 -07:00
jekyllbot
8e25b8bffb Merge pull request #5152 from jekyll/theme-dir-regex-fix
Merge pull request 5152
2016-07-28 14:02:10 -07:00
Ben Balter
909800839c Missing trailing | 2016-07-28 16:31:20 -04:00
Ben Balter
9220c5a634 Also include LICENSE and README 2016-07-28 15:43:45 -04:00
Ben Balter
8b69c6f0b5 resolve theme root before sanitizing 2016-07-28 15:12:31 -04:00
Ben Balter
2351ef6bbe dont double sanitize theme folder paths 2016-07-28 14:46:05 -04:00
Jordon Bedwell
54281530fb Revert "Readability: lib/jekyll/static_file.rb."
This reverts commit 26f1ea2487.
2016-07-28 13:15:29 -05:00
Ben Balter
1bf47ec394 include theme directories in default gemspec 2016-07-28 10:21:30 -04:00
Jordon Bedwell
26f1ea2487 Readability: lib/jekyll/static_file.rb. 2016-07-27 23:59:50 -05:00
Parker Moore
07518d9540 Release 💎 3.2.0 2016-07-27 17:17:14 -07:00
Parker Moore
7e34be945a Remove mention of rake preview for theme README. 2016-07-26 17:34:52 -07:00
Parker Moore
a31766d329 ThemeBuilder: do not create example site & Rakefile
They're unnecessary -- the theme _is_ a Jekyll site. Just use jekyll build.
2016-07-26 17:32:18 -07:00
Parker Moore
deab138f23 site template: update link to jglovier/jekyll-new to jekyll/minima 2016-07-26 15:37:26 -07:00
jekyllbot
41a99b300d Merge pull request #5137 from jekyll/pull/fixes-for-rubocop-0-42
Merge pull request 5137
2016-07-25 17:45:51 -07:00
Parker Moore
4b698747dc Style fixes for Rubocop 0.42.0
- var == 0 becomes var.zero?
- when defining method_missing, also define respond_to_missing?
2016-07-25 12:46:43 -07:00
jekyllbot
6b0b6418dc Merge pull request #5135 from chrisfinazzo/baseurl-subcommand
Merge pull request 5135
2016-07-25 12:26:02 -07:00
jekyllbot
0f3ce73516 Merge pull request #4860 from pathawks/pr/where_exp
Merge pull request 4860
2016-07-25 12:16:55 -07:00
jekyllbot
57944c3da4 Merge pull request #5127 from ayastreb/date-filter-fix
Merge pull request 5127
2016-07-25 10:42:28 -07:00
jekyllbot
810e411bdf Merge pull request #5129 from stevecheckoway/display-liquid-warnings
Merge pull request 5129
2016-07-25 10:41:54 -07:00
chrisfinazzo
ed3f745b77 Add baseurl subcommand, fixes #4919 2016-07-25 10:15:15 -04:00
Parker Moore
0e0e9f2081 Fix script/fmt error in site.rb. 2016-07-24 19:27:21 -07:00
Parker Moore
9f02ec6cf8 Release v3.2.0.pre.beta2 2016-07-24 16:43:28 -07:00
Stephen Checkoway
8d4ab9366e Show liquid warnings. 2016-07-24 13:04:28 -05:00
Anatoliy Yastreb
9176924eab filters: raise error if no input given to date filters 2016-07-24 01:37:35 +03:00
jekyllbot
f8aea7b35c Merge pull request #5109 from mojavelinux/issue-4858
Merge pull request 5109
2016-07-21 11:43:38 -07:00
Dan Allen
d590d7a738 resolves #4858 pass site instance to watch plugin
- prevents the watch plugin from creating a new site instance
2016-07-19 23:21:28 -06:00
XhmikosR
5ca080ac6f Whitespace cleanup. 2016-07-18 21:31:17 +03:00