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

chore: fold versions & cleanup #1313

Merged
merged 1 commit into from
Mar 28, 2019
Merged

chore: fold versions & cleanup #1313

merged 1 commit into from
Mar 28, 2019

Conversation

endiliey
Copy link
Contributor

@endiliey endiliey commented Mar 28, 2019

Motivation

Inspired from jestjs/jest#7705

According to semantic versioning, X.Y.Z version means X is major, Y is minor and Z is patch
Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.

It's not a good idea for us to cut new docs for PATCH version because its only bug fixes and by right there shouldn't be much change to the documentation. It's also not good to keep too many version as that makes our build process even slower.

We can see that other popular OSS project is doing this too:

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Comparison
image

Locally start

working

Versions working - https://deploy-preview-1313--docusaurus-preview.netlify.com/en/versions
Old docs still working - https://deploy-preview-1313--docusaurus-preview.netlify.com/docs/en/1.2.x/installation

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 28, 2019
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 84c8b20

https://deploy-preview-1313--docusaurus-2.netlify.com

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 84c8b20

https://deploy-preview-1313--docusaurus-preview.netlify.com

@yangshun yangshun merged commit 94928f8 into facebook:master Mar 28, 2019
@endiliey endiliey deleted the fold branch March 28, 2019 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants