-
-
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
feat(v2): add option validation for remaining official plugins #2970
Conversation
Deploy preview for docusaurus-2 ready! Built with commit d89d118 |
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.
looks nice, waiting for the other PR
packages/docusaurus-plugin-content-docs/src/__tests__/pluginOptionSchema.test.ts
Show resolved
Hide resolved
Hey, is this ready to review/merge? The other pr has been merged: #2943 |
It is almost ready, we need to rebase it and make some minor changes |
Ready for review now :D |
there's a conflict :p |
conflict resolved! :) |
great job, let's merge this 👍 |
Motivation
This PR provides option validation for the remaining official plugins.
This is a follow-up PR to #2943. #2943 generalizes option validation for plugins and themes. This PR uses the same pattern to validate and normalize options for the remaining official plugins.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tests have been added for the respective plugins.
Related PRs
This PR should be merged after #2943. I will pull the changes after #2943 is merged to resolve any merge conflicts first. (Edit: done)