-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
feat(blog-plugin): limit option for blog feedOptions #9189
Conversation
✅ [V2]Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
⚡️ Lighthouse report for the deploy preview of this PR
|
LGTM thanks 👍 My only concern is that I hope it's clear that the |
Breaking change
With Docusaurus v3, the blog feeds are now limited to the last 20 items by default
This permits ensuring the feeds keep a reasonable max size and ensure by default feed reader apps and SaaS are able to read that feed successfully.
If you want to revert to the old Docusaurus v2unlimited behavior, use
limit: false
Note: if you use the
createFeedItems()
hook, the items you receive have already been limited (by default to 20). You might need to turn off this behavior for advancedcreateFeedItems()
customizations involving access to the whole list of blog posts.Pre-flight checklist
Motivation
To make limiting the size of a blog feed straightforward and the default behaviour.
Test Plan
Test links
Deploy preview:
Related issues/PRs
#8378