-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Update error codes on docs branch #10622
Conversation
**what is the change?:** This just updated the error codes on the docs. For my future self, recording the steps it took to get here: - On master, run `npm run build -- --extract-errors` - Create a commit with those changes, and open a PR (facebook#10619) - Cherry-pick that commit onto 15-stable, and open a PR (facebook#10621) - Update the error codes on the `gh-pages branch` by doing the following based on docs (https://github.com/facebook/react/tree/master/docs#updating-facebookgithubioreact): - Set up a sister directory to `react` with `gh-pages` checked out, and call it `react-gh-pages` - In your `react` repo, with `15-stable` checked out and the error-codes update cherry-picked, run: `cd docs && bundle rake exec && bundle exec rake fetch_remotes && bundle exec rake release` - `cd ../react-gh-pages` and check in those changes, create a commit/PR - Manually test running the docs **why make this change?:** Even though this is just an RC, and not a final major release, we still want the docs to be as up-to-date as possible. **test plan:** Run the docs locally and make sure things work. (Flarnie will insert screenshots.) **issue:** facebook#8854
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.
This won't work. Any changes to gh-pages
will be overriden on next CI build.
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.
This doesn't actually hurt so I'll approve, but Circle should build gh-pages automatically.
(As long as this is landed with #10621.) |
Ah, I missed that one, thanks for explaining! |
Ah - in the past we had manually committed to this branch in order to update the docs faster than CI might run, but in this case there is no real rush. We can wait for #10621 to land. |
Looks like CI failing here is normal? https://circleci.com/gh/facebook/react/tree/gh-pages |
On my phone, but the 15-stable branch is the one to look at. And yes, fine landing this as long as it's just being built from the latest code in 15-stable. |
Oh, yes, that seems fine. |
what is the change?:
This just updated the error codes on the docs.
For my future self, recording the steps it took to get here:
npm run build -- --extract-errors
(Update error codes and results.json #10619)
(Update error codes on 15-stable branch #10621)
gh-pages branch
by doing thefollowing based on docs
(https://github.com/facebook/react/tree/master/docs#updating-facebookgithubioreact):
react
withgh-pages
checked out,and call it
react-gh-pages
react
repo, with15-stable
checked out and theerror-codes update cherry-picked, run:
cd docs && bundle rake exec && bundle exec rake fetch_remotes && bundle exec rake release
cd ../react-gh-pages
and check in those changes, create acommit/PR
why make this change?:
Even though this is just an RC, and not a final major release, we still
want the docs to be as up-to-date as possible.
test plan:
Run the docs locally and make sure things work.
issue:
#8854