Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward-port: Configuration permalink fix and addition of Configuration.from and sorting site.collections by label #4942

Merged
merged 19 commits into from May 25, 2016
Merged

Forward-port: Configuration permalink fix and addition of Configuration.from and sorting site.collections by label #4942

merged 19 commits into from May 25, 2016

Conversation

pathawks
Copy link
Member

Merge #4910 into master
#4911

parkr and others added 19 commits May 24, 2016 18:40
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)
@parkr
Copy link
Member

parkr commented May 25, 2016

Yay!!! Thanks so much, @pathawks! ❤️

@jekyllbot: merge +port

@jekyllbot jekyllbot merged commit cf810a8 into jekyll:master May 25, 2016
jekyllbot added a commit that referenced this pull request May 25, 2016
parkr added a commit that referenced this pull request May 25, 2016
* master: (38 commits)
  Mention where it came from. [ci skip]
  Update history to reflect merge of #4944 [ci skip]
  Update history to reflect merge of #4943 [ci skip]
  Mention where it came from. [ci skip]
  Update history to reflect merge of #4942 [ci skip]
  Update history to reflect merge of #4941
  External: remove &block arg, use block_given?
  Update history to reflect merge of #4936 [ci skip]
  lib/jekyll.rb: require document_drop to ease our pain
  Sort the results of the require_all glob.
  Rubocop fixes
  Reset {{ layout }} between each render & merge layout data properly
  Add failing test for layout data inheritance bug (#4433)
  Add failing test for layout bug (#4897)
  Fix tests for plugins in configuration.
  Define Drop#each so we can use the new frozen/duping behavior
  Don't default 'include' and 'exclude' to an empty array
  Fix some minor things in the tests
  Freeze configuration defaults & duplicate in deep_merge_hashes if need be.
  Remove merge conflicts I forgot to fix.
  ...
@pathawks pathawks deleted the fp/configuration-from-permalink-fix branch May 26, 2016 03:19
@jekyll jekyll locked and limited conversation to collaborators Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants