-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Implement URL conflict checking in jekyll-doctor
.
#1389
Conversation
Sample output:
|
Nice feature (= |
urls = {} | ||
urls = collect_urls(urls, site.pages, site.dest) | ||
urls = collect_urls(urls, site.posts, site.dest) | ||
#urls = collect_urls(urls, site.static_files) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💣 the comment, please 😃
Just one small nitpick and then I think it's good to go. |
Also aborting if |
[ | ||
deprecated_relative_permalinks(site), | ||
conflicting_urls(site) | ||
].any? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattr- I'm worried this will only evaluate until one of them returns true
.
👍 |
Implement URL conflict checking in `jekyll-doctor`.
Satisfies #1077.
Alternative to #1361.