Skip to content

Disable incremental regen when Archives enabled for 3.0 compatibility#48

Merged
parkr merged 3 commits intomasterfrom
3.0-compatibility
Sep 2, 2015
Merged

Disable incremental regen when Archives enabled for 3.0 compatibility#48
parkr merged 3 commits intomasterfrom
3.0-compatibility

Conversation

@alfredxing
Copy link
Copy Markdown
Member

Incremental regen messes up the content of generated archives (they show raw content instead of generated content), so we need to disable it if jekyll-archives is included as a gem.

Should fix the failing test(s) from #47.

For jekyll/jekyll#3945

@parkr @pathawks

alfredxing and others added 2 commits September 1, 2015 16:38
@alfredxing
Copy link
Copy Markdown
Member Author

Oops. Applying @pathawks' commit from his PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this version of jekyll-archives won't be compatible with jekyll 2. is that intended?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this won't be compatible, will Ruby/Bundler be smart about it and install an older version of the gem if the user is using Jekyll 2?

Otherwise I can wrap the addition of the hook with a conditional to still make it compatible...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, would you wrap all 3.0-specific pieces?

@mattr-
Copy link
Copy Markdown
Member

mattr- commented Sep 2, 2015

no incremental regen makes me sad. 😭 😉

@pathawks
Copy link
Copy Markdown
Member

pathawks commented Sep 2, 2015

Cool! ⛄

@alfredxing
Copy link
Copy Markdown
Member Author

OK, all tests passed this time, with Jekyll 2 compatibility kept.

@pathawks pathawks mentioned this pull request Sep 2, 2015
parkr added a commit that referenced this pull request Sep 2, 2015
@parkr parkr merged commit c162d72 into master Sep 2, 2015
@parkr parkr deleted the 3.0-compatibility branch September 2, 2015 17:05
parkr added a commit that referenced this pull request Sep 2, 2015
@parkr
Copy link
Copy Markdown
Member

parkr commented Sep 2, 2015

Thanks, Alfred!!!!!!

@pathawks
Copy link
Copy Markdown
Member

pathawks commented Sep 2, 2015

Perhaps a note re: incremental regen being disabled should be added to the Readme?

@parkr
Copy link
Copy Markdown
Member

parkr commented Sep 2, 2015

Great idea!

@pathawks
Copy link
Copy Markdown
Member

pathawks commented Sep 2, 2015

Cool. I’ll write some words when I get a chance.

@alfredxing
Copy link
Copy Markdown
Member Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants