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

cmd/doctor: Remove duplicate source paths from conflicting_urls check #9333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iBug
Copy link
Contributor

@iBug iBug commented Apr 4, 2023

This is a 🙋 feature or enhancement.

Summary

If a single source file is somehow duplicated in Jekyll's build pipeline, it irritates jekyll doctor to complain about Conflict: The following destination is shared by multiple files, which doesn't make much sense.

This isn't normally possible, but my workaround for a missing feature for the jekyll-feed plugin relies on this. Nevertheless, it's nice to have as an extra sanity check to remove the duplicates.

Context

This PR is one way to fix jekyll/jekyll-feed#390.

@ashmaroli
Copy link
Member

Hello @iBug,
Since source files do not get duplicated normally, I believe this patch has no place in Jekyll Core.
I suggest you move this patch into your workaround plugin.

My stand on this PR is: wont-merge.

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.

Combining multiple collections into the main feed
2 participants