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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supress warning issued for redirect pages #8347
Conversation
I think having a separate def allow_used_permalink?(item)
defined?(JekyllRedirectFrom) && item.is_a?(JekyllRedirectFrom::RedirectPage)
end Additionally, this change definitely needs a test. You can add another Cucumber scenario like before. |
Just making sure, where should this method be added? |
It can be a private class method in |
f6c12e6
to
00cbf5f
Compare
00cbf5f
to
c0ee4f2
Compare
Thank you for the quick turnarounds @SeekingMeaning
If you're able to change it, great! Otherwise, I shall update this branch when I can come up with a nice scenario. |
Thank you @SeekingMeaning |
This is a 馃悰 bug fix.
Summary
This updates
lib/jekyll/commands/doctor.rb
to skip redirect pages (from thejekyll-redirect-from
plugin) when checking for permalink conflictsContext
Closes #8346