Skip to content

Respect collections_dir config within include tag#8756

Merged
jekyllbot merged 1 commit intojekyll:masterfrom
ashmaroli:include-tag-collections-tag
Aug 5, 2021
Merged

Respect collections_dir config within include tag#8756
jekyllbot merged 1 commit intojekyll:masterfrom
ashmaroli:include-tag-collections-tag

Conversation

@ashmaroli
Copy link
Copy Markdown
Member

  • This is a 🐛 bug fix.
  • I've added tests
  • The test suite passes locally

Summary

Currently dependencies of documents within custom collections_dir were not being registered within .jekyll-metadata since the documents' correct absolute_path weren't being passed along. Consequently, changes to their include files does not trigger an incremental regeneration as expected.

This pull request fixes the problem.

Context

Possible backport-candidate to 3.9-stable ?

@ashmaroli ashmaroli added the fix label Aug 4, 2021
@DirtyF DirtyF requested review from a team, mattr- and parkr and removed request for a team August 4, 2021 12:59
Copy link
Copy Markdown
Member

@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

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

Thanks Ashwin, LGTM

Copy link
Copy Markdown
Member

@mattr- mattr- left a comment

Choose a reason for hiding this comment

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

LGTM. I'm also 👍 on a backport

@ashmaroli
Copy link
Copy Markdown
Member Author

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit aa9a416 into jekyll:master Aug 5, 2021
@jekyllbot jekyllbot added the bug label Aug 5, 2021
@ashmaroli ashmaroli deleted the include-tag-collections-tag branch August 5, 2021 15:10
jekyllbot added a commit that referenced this pull request Aug 5, 2021
github-actions bot pushed a commit that referenced this pull request Aug 5, 2021
Ashwin Maroli: Respect collections_dir config within include tag (#8756)

Merge pull request 8756
ashmaroli added a commit to ashmaroli/jekyll that referenced this pull request Aug 29, 2021
Respect collections_dir config within include tag
This backports aa9a416 to 4.2-stable
ashmaroli added a commit to ashmaroli/jekyll that referenced this pull request Aug 30, 2021
Respect collections_dir config within include tag
This backports and adapts aa9a416 and 1aea158 to 3.9-stable
parkr added a commit that referenced this pull request Aug 30, 2021
ashmaroli added a commit that referenced this pull request Sep 16, 2021
…ude tag (#8794)

Respect collections_dir config within include tag
This backports aa9a416 and 1aea158 to 4.2-stable
@jekyll jekyll locked and limited conversation to collaborators Sep 3, 2022
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.

4 participants