Commit Graph

162 Commits

Author SHA1 Message Date
Alex Malaszkiewicz 2c793fcf77
Move permalink styles data to constant (#8282)
Merge pull request 8282
2020-07-05 15:16:01 -04:00
Ashwin Maroli 707741c0f8
Configure kramdown toc_levels as array by default (#8015)
Merge pull request 8015
2020-02-20 12:54:49 -05:00
Ashwin Maroli 65f8831168 Reduce allocations by using #each_with_object (#7758)
Merge pull request 7758
2019-08-04 16:08:54 -04:00
Ashwin Maroli 0f5e15811f Remove warnings and fixes for deprecated config (#7440)
Merge pull request 7440
2019-08-04 08:37:45 -04:00
Ashwin Maroli a5cac26766 Bump RuboCop to v0.68.x (#7637)
Merge pull request 7637
2019-04-30 08:44:08 -04:00
Christoph Päper 0da5389cbb ISO week date drops (#5981)
Merge pull request 5981
2019-03-21 20:42:36 -04:00
Ashwin Maroli 575f4b66de Upgrade kramdown dependency to v2.x (#7492)
Merge pull request 7492
2019-03-15 13:27:41 -04:00
Ashwin Maroli 8ccb013f85 Use communicative method parameters (#7566)
Merge pull request 7566
2019-03-15 12:54:24 -04:00
Ashwin Maroli aea502745a Utilize absolute paths of user-provided file paths (#7450)
Merge pull request 7450
2019-03-15 12:10:48 -04:00
Ashwin Maroli 091b5bd697 Always exclude certain paths from being processed (#7188)
Merge pull request 7188
2019-02-19 11:54:18 -05:00
argv-minus-one 052dbf8b98 Automatically load _config.toml (#7299)
Merge pull request 7299
2018-10-05 09:43:06 -04:00
jekyllbot a28f54a59f
Bump Rubocop to v0.59.0 (#7237)
Merge pull request 7237
2018-09-09 18:14:46 -04:00
Pat Hawks 6e980f3f6a Remove 'cache_dir' during `jekyll clean` (#7158)
Merge pull request 7158
2018-07-31 16:12:57 -04:00
Frank Taillandier 6c771608e5 Update Rubocop's config (#7050)
Merge pull request 7050
2018-06-02 06:50:32 -04:00
Ana María Martínez Gómez bc84603017 Useless privates removed (#6768)
Merge pull request 6768
2018-05-19 15:49:54 -04:00
jekyllbot 149d5de59a
Remove support for rdiscount (#6988)
Merge pull request 6988
2018-05-09 09:44:36 -04:00
Nikita Skalkin e0758ba550 Remove support for Redcarpet (#6987)
Merge pull request 6987
2018-05-06 10:18:02 -04:00
ashmaroli 51bdea1303 Allow passing :strict_variables and :strict_filters options to Liquid's renderer (#6726)
Merge pull request 6726
2018-03-14 06:50:18 -04:00
Jashank Jeremy a9fe56830b Switch to an actively-maintained TOML parser. (#6652)
Merge pull request 6652
2018-01-02 12:36:58 -05:00
jekyllbot ba75c87f63
Remove paginate check (#6606)
Merge pull request 6606
2017-12-10 08:35:12 -05:00
Ashwin Maroli fcb1b410e3 rename log_warnings to show_warnings 2017-12-07 23:44:15 +05:30
Ashwin Maroli 77852b8838 add option to configure kramdown warning output 2017-11-13 22:02:58 +05:30
ashmaroli 7690fcb02b use Kernel#Array instead of explicit Array check (#6525)
Merge pull request 6525
2017-11-06 09:36:19 -05:00
jekyllbot e7f1ce2e2b Update Rubocop to 0.51.0 (#6444)
Merge pull request 6444
2017-10-19 14:22:36 -04:00
Parker Moore 0331fb41ad Allow the user to set collections_dir to put all collections under one subdirectory (#6331)
Merge pull request 6331
2017-09-24 11:50:55 -04:00
ashmaroli 00bad8bfe5 Bump rubocop to use `v0.50.x` (#6368)
Merge pull request 6368
2017-09-22 09:06:32 -04:00
ashmaroli c8eee7ffcb Access custom config array throughout session (#6200)
Merge pull request 6200
2017-08-07 12:13:33 -04:00
Parker Moore 7cf5f51ca2 Enforce Style/FrozenStringLiteralComment. (#6265)
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Parker Moore 1ae0e83b2d Default `baseurl` to `nil` instead of empty string (#6137)
Merge pull request 6137
2017-06-15 14:29:07 -04:00
Jonathan Hooper 308ba550ef Add option to fail a build with front matter syntax errors (#5832)
Merge pull request 5832
2017-05-09 20:17:36 -04:00
Florian Thomas ccb133fd33 add `plugins` config key as replacement for `gems` (#5130)
Merge pull request 5130
2017-04-17 07:46:33 -04:00
William Entriken f93453368a Prefer .yaml over .toml 2017-03-20 10:56:34 -04:00
Ashwin Maroli 4e40593a53 exclude Gemfile and its lockfile by default 2017-02-05 01:26:41 +05:30
Pat Hawks 1d885911bc
Rubocop: Require consistent comma in multiline literals 2017-01-12 17:52:29 -06:00
Parker Moore 7bf4627046
Add vendor/gems to the list of excluded & do some refactoring. 2016-11-09 09:42:26 -08:00
Parker Moore b194211a32
Be much more specific about ignoring vendored directories. 2016-11-09 09:42:26 -08:00
Parker Moore b8f17b9034
Exclude node_modules by default
If no 'exclude' directive is specified, exclude node_modules by default.

https://twitter.com/mxstbr/status/761856359579185153
2016-09-16 13:09:10 -07:00
Frank Taillandier 59b61c3f9f Exclude vendor by default 2016-09-16 07:56:37 +02: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
Stephen Checkoway dcc8960806 Enable strict (or lax) liquid parsing.
Insert

liquid:
  error_mode: strict # or lax or warn

in _config.yml to change the error mode.
2016-07-04 10:16:11 -05:00
Anatoliy Yastreb 14e857029a rubocop: fix code style 2016-06-19 15:48:23 +03:00
DirtyF f41bd1bab7
Rubocop cleanup 2016-06-06 16:30:09 +02:00
Parker Moore d5c3785d29 Don't default 'include' and 'exclude' to an empty array 2016-05-24 18:49:06 -05:00
Parker Moore d84844c223 Freeze configuration defaults & duplicate in deep_merge_hashes if need be. 2016-05-24 18:49:05 -05:00
Parker Moore 59346eb228 Remove call to #backwards_compatibilize in Configuration.from 2016-05-24 18:47:15 -05:00
Parker Moore f52a0e7200 Configuration#add_default_collections: fix bug where DEFAULTS['collections'] is modified 2016-05-24 18:47:15 -05:00
Parker Moore d01f7943de Add Configuration.from & use in Jekyll.configuration.
This process streamlines the creation of new configurations. Creating a new
site will choke if not all the correct options are given.
Configuration.from will ensure the overrides have all string keys and
ensures all the common issues & defaults are in place so a Site can be
created.

A common use:

    config = Configuration.from({ 'permalink' => '/:title/' }) # etc
    site = Jekyll::Site.new(config)
2016-05-24 18:47:15 -05:00
Parker Moore 6eaa8e90f8 Don't read a config file if the filename is empty. 2016-05-24 18:47:14 -05:00
Parker Moore f2263a11b7 Only write collections.posts.permalink if permalink is set. 2016-05-24 18:40:19 -05:00
Parker Moore d74f8d6dd9
Fix spacing on the msg in Configuration#renamed_key 2016-04-28 17:55:15 -07:00