-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
plugin-content-blog: add rejectPostsWithoutTruncate
option
#10289
Comments
A personal +1 |
I'm going to work on it :) to add this feature |
That's awesome. By the way feel free to tweak the option name or UX if you believe it can be improved. |
What about a more flexible option like This also gives the opportunity to eventually provide a callback with some args to apply different per-blog-post rules in the future. If you have a better name suggestion, please let us know right now. No PR has been sent so @OzakIOne is probably going to work on it |
I think it makes a lot of sense! |
Have you read the Contributing Guidelines on issues?
Description
An option to make the
docusaurus build
fail if some blog post is missing truncate.Has this been requested on Canny?
No response
Motivation
It's very often that we miss this during review and only realize it after the blog post is published.
It would be awesome and timesaving to allow to catch these issues during development time to avoid having them in production.
API design
I believe the description is self-explanatory.
Have you tried building it?
Not yet.
Self-service
The text was updated successfully, but these errors were encountered: