Skip to content

Commit

Permalink
docs: adjust branch naming in links, master -> main (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrMetalWood authored Oct 23, 2023
1 parent a50bd4f commit ec0c813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ PRs and bug reports are welcome, and we are actively looking for new maintainers

## Setting Up Dev Environment

The **master** branch is the active development branch.
The **main** branch is the active development branch.

Building react-google-maps locally from the source requires node.js `>=8`.
We use npm to manage the dependencies.

```bash
git checkout master
git checkout main
npm install
npm run test
```
Expand All @@ -28,7 +28,7 @@ npm run test

Any intended change to the code base must open a [pull request](https://help.github.com/articles/creating-a-pull-request/) and be approved.

Generally speaking, all PRs are open against the `master` branch, unless the feature being affected no longer exists on master.
Generally speaking, all PRs are open against the `main` branch, unless the feature being affected no longer exists on main.

### PR Checklist

Expand Down
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = {
path: '../docs',
sidebarPath: resolve('./src/docs-sidebar.js'),
editUrl:
'https://github.com/visgl/react-google-maps/tree/master/website'
'https://github.com/visgl/react-google-maps/tree/main/website'
},
theme: {
customCss: [resolve('./src/styles.css')]
Expand Down Expand Up @@ -135,7 +135,7 @@ const config = {
},
{
label: 'Starter templates',
href: 'https://github.com/visgl/react-google-maps/tree/master/examples/get-started'
href: 'https://github.com/visgl/react-google-maps/blob/main/docs/get-started.md'
}
]
},
Expand Down

0 comments on commit ec0c813

Please sign in to comment.