misc: facebook/Docusaurus -> facebook/docusaurus

This commit is contained in:
Yangshun Tay 2019-10-12 01:11:34 -07:00
parent a059e17c6c
commit 9f6460fde0
36 changed files with 353 additions and 353 deletions

View file

@ -4,14 +4,14 @@
# Steps
1. Ensure that `origin` remote is your Docusaurus fork and `upstream` is Docusaurus original repository.
1. Ensure that `origin` remote is your Docusaurus fork and `upstream` is Docusaurus original repository.
```bash
$ git remote -v
origin https://github.com/endiliey/Docusaurus.git (fetch)
origin https://github.com/endiliey/Docusaurus.git (push)
upstream https://github.com/facebook/Docusaurus.git (fetch)
upstream https://github.com/facebook/Docusaurus.git (push)
upstream https://github.com/facebook/docusaurus.git (fetch)
upstream https://github.com/facebook/docusaurus.git (push)
```
2. Pull latest changes from Docusaurus repository.

View file

@ -11,13 +11,13 @@ If you are not currently logged into npm locally:
## Publish
1. Bump version number in [`package.json`](https://github.com/facebook/Docusaurus/blob/master/package.json).
1. Update the [changelog](https://github.com/facebook/Docusaurus/blob/master/CHANGELOG.md), including at the reference links at the bottom.
1. Bump version number in [`package.json`](https://github.com/facebook/docusaurus/blob/master/package.json).
1. Update the [changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md), including at the reference links at the bottom.
1. Do this always, but particularly important if there were any `package.json` changes in this release:
1. If there is no `node_modules` directory in you local Docusaurus version, run `yarn install` and `npm install`.
1. Run `yarn upgrade` to update `yarn.lock` and `npm update` to update `package-lock.json`.
1. From the `website-1.x` directory, run `npm run docusaurus-version x.x.x`, where x.x.x is the same version number you updated to in `package.json`.
1. Test your PR locally on a project that was created via [these instructions](https://github.com/facebook/Docusaurus/blob/master/admin/local-third-party-project-testing.md).
1. Test your PR locally on a project that was created via [these instructions](https://github.com/facebook/docusaurus/blob/master/admin/local-third-party-project-testing.md).
1. Submit your PR
1. When your PR is merged, rebase to get the PR commit locally.
1. Run `npm publish`
@ -32,7 +32,7 @@ The version number should generally increase by some factor than the current one
"version": "1.0.0-alpha.41",
"repository": {
"type": "git",
"url": "https://github.com/facebook/Docusaurus.git"
"url": "https://github.com/facebook/docusaurus.git"
}
...
}