Skip to content
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

Merged
merged 41 commits into from Jun 26, 2020

Conversation

teikjun
Copy link
Contributor

@teikjun teikjun commented Jun 19, 2020

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)

@teikjun teikjun requested a review from yangshun as a code owner June 19, 2020 13:54
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 19, 2020
@teikjun teikjun marked this pull request as draft June 19, 2020 13:55
@teikjun teikjun changed the title feat(v2): option validation and normalization for remaining official plugins feat(v2): add option validation and normalization for remaining official plugins Jun 19, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jun 19, 2020

Deploy preview for docusaurus-2 ready!

Built with commit d89d118

https://deploy-preview-2970--docusaurus-2.netlify.app

@teikjun teikjun changed the title feat(v2): add option validation and normalization for remaining official plugins feat(v2): add option validation for remaining official plugins Jun 19, 2020
Copy link
Collaborator

@slorber slorber left a 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

@slorber
Copy link
Collaborator

slorber commented Jun 24, 2020

Hey, is this ready to review/merge?

The other pr has been merged: #2943

@anshulrgoyal
Copy link
Contributor

It is almost ready, we need to rebase it and make some minor changes

@teikjun teikjun marked this pull request as ready for review June 25, 2020 14:46
@teikjun
Copy link
Contributor Author

teikjun commented Jun 25, 2020

Ready for review now :D

@slorber
Copy link
Collaborator

slorber commented Jun 25, 2020

there's a conflict :p

@teikjun
Copy link
Contributor Author

teikjun commented Jun 25, 2020

conflict resolved! :)

@slorber
Copy link
Collaborator

slorber commented Jun 26, 2020

great job, let's merge this 👍

@slorber slorber merged commit 0f59cd1 into facebook:master Jun 26, 2020
@slorber slorber added pr: maintenance This PR does not produce any behavior differences to end users when upgrading. pr: polish This PR adds a very minor behavior improvement that users will enjoy. labels Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading. pr: polish This PR adds a very minor behavior improvement that users will enjoy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants