Skip to content

Commit db494ff

Browse files
committed
chore: change main branch to main
1 parent bebe778 commit db494ff

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Want to help improve the documentation? That would be so very much appreciated.
2020
### Make changes
2121

2222
- Each documentation version of `react-navigation` is generated by the markdown files located in `versioned_docs`. Change them and refresh the page when running the documentation locally and you will see the changes reflected.
23-
- If you want to add a new page, you need to add it to the corresponding [sidebars.json file](https://github.com/react-navigation/react-navigation.github.io/tree/source/versioned_sidebars) and then restart the server.
23+
- If you want to add a new page, you need to add it to the corresponding [sidebars.json file](https://github.com/react-navigation/react-navigation.github.io/tree/main/versioned_sidebars) and then restart the server.
2424

2525
## Things you need to be a collaborator to do
2626

@@ -42,11 +42,12 @@ _Deployment is done automatically via Github Actions. Normally you shouldn't nee
4242

4343
_Before deploying, be sure to download the latest translations!_
4444

45-
Only collaborators on this repository can deploy. Run the following command from the `source` branch:
45+
Only collaborators on this repository can deploy. Run the following command from the `main` branch:
4646

4747
```bash
4848
GIT_USER=<Your GitHub username> \
49-
CURRENT_BRANCH=source \
49+
CURRENT_BRANCH=main \
50+
DEPLOYMENT_BRANCH=gh-pages \
5051
USE_SSH=true \
5152
yarn deploy
5253
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"build": "docusaurus build",
88
"swizzle": "docusaurus swizzle",
99
"deploy": "DEPLOYMENT_BRANCH=gh-pages docusaurus deploy",
10-
"crowdin-upload": "crowdin upload sources --auto-update -b source",
11-
"crowdin-download": "crowdin download -b source",
10+
"crowdin-upload": "crowdin upload sources --auto-update -b main",
11+
"crowdin-download": "crowdin download -b main",
1212
"fetch-sponsors": "node scripts/fetch-sponsors.js"
1313
},
1414
"dependencies": {

0 commit comments

Comments
 (0)