Commit Graph

2551 Commits

Author SHA1 Message Date
Parker Moore 279f1516d2
Merge branch 'master' into themes-asset-folder
* master:
  Update history to reflect merge of #5381 [ci skip]
  Update history to reflect merge of #5383 [ci skip]
  run features on windows
  Appease Rubocop
  Update history to reflect merge of #5372 [ci skip]
  Add missing period to sentence in first paragraph.
2016-09-20 13:13:01 -07:00
Parker Moore 7309ecf8e1
Theme: for various path helpers, use strings. Symbols confuse people. 2016-09-19 13:47:51 -07:00
Pat Hawks 3bfdc00d14
Appease Rubocop 2016-09-19 13:15:02 -05:00
Parker Moore 74baeb889a
ThemeAssetsReader: fix tests so everything passes. 2016-09-18 15:04:15 -04:00
Parker Moore 87b9cfe2b5
ThemeBuilder: add 'assets' to list of scaffold directories 2016-09-16 14:57:58 -07:00
Parker Moore 13aec48137
Add ThemeAssetsReader which reads assets from a theme
If the theme includes the 'assets' directory, it will be walked and items will be added to the site based
on the normal rules of Jekyll: if there is YAML front matter, it will be added as a (convertible) Page,
otherwise it will be added as a StaticFile.
2016-09-16 14:41:36 -07:00
Frank Taillandier 59b61c3f9f Exclude vendor by default 2016-09-16 07:56:37 +02:00
jekyllbot 4888b84b44 Merge pull request #5199 from jeffkole/adds-linking-to-all-files
Merge pull request 5199
2016-09-13 07:11:50 -07:00
jekyllbot 3e0363be4a Merge pull request #5326 from ashmaroli/gitignore-gem
Merge pull request 5326
2016-09-09 13:53:28 -07:00
jekyllbot a70abbeab5 Merge pull request #5337 from jekyll/fix-convertible-5308
Merge pull request 5337
2016-09-08 11:27:35 -07:00
Parker Moore c1e6f1fb94
Fix rubocop errors & add one more test for slugify 'ascii' mode (#4680) 2016-09-07 17:50:14 -07:00
Parker Moore 9164973a6c
Merge branch 'jussikinnula-master'
* jussikinnula-master:
  Fix slugify test
  One final "urlsafe" replaced with "ascii"
  Change urlsafe to ascii also when actually slugifying
  Add tests for ascii slugify mode
  Rename urlsafe to ascii, and document it (on utils.rb)
  Add urlsafe to accepted slugify modes
  Add urlsafe method for slugify
2016-09-07 16:50:32 -07:00
jekyllbot dddafccb36 Merge pull request #5235 from jekyll/update-windows-detection-to-check-proc-version
Merge pull request 5235
2016-09-07 16:34:37 -07:00
Parker Moore 3840a38081
Convertible: set self.output in #render_all_layouts and #do_layout 2016-09-07 15:59:43 -07:00
Ashwin Maroli b47db14f86 add future gems to gitignore 2016-09-05 15:14:59 +05:30
jekyllbot 2f167aeea7 Merge pull request #5308 from jekyll/rubocop-convertible
Merge pull request 5308
2016-09-01 17:18:50 -07:00
Parker Moore 4af0f0262e
Remove layouts named param from Renderer#initialize 2016-09-01 13:26:14 -07:00
jekyllbot 6a34966f20 Merge pull request #5189 from jekyll/skip-theme-if-not-string
Merge pull request 5189
2016-08-30 14:54:47 -07:00
Parker Moore a78426f20d
Convertible#read_yaml: disable Metrics/AbcSize check 2016-08-30 14:39:49 -07:00
Parker Moore 9ddc12bad8
Convertible: ensure layouts the argument and payload the argument are set properly in the renderer 2016-08-30 14:39:20 -07:00
Parker Moore ac6bbc1906
Renderer#invalid_layout? should check if document is an excerpt 2016-08-30 14:14:52 -07:00
Parker Moore 8014c54ee0
Convertible#converters: sort the converters 2016-08-30 14:14:33 -07:00
Parker Moore 73e79f0049
Proxy Convertible#converters to Renderer#run 2016-08-30 14:14:22 -07:00
Parker Moore 8496e2e8b6
Proxy Convertible#render_liquid to Renderer 2016-08-30 14:14:12 -07:00
Parker Moore d0f57b61d4
Proxy Convertible#transform to Renderer 2016-08-30 14:14:03 -07:00
Parker Moore 741102bd40
Proxy Convertible#converters to Renderer 2016-08-30 14:13:26 -07:00
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
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
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
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