Skip to content

Commit 00569ad

Browse files
authored
docs: fix language option documentaion (#161)
Fix spacing, numbering, TOC in CONTRIBUTING.md
1 parent 7c1827e commit 00569ad

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* [Contributor License Agreements](#contributor-license-agreements)
66
* [Contributing a patch](#contributing-a-patch)
77
* [Running the tests](#running-the-tests)
8-
* [Releasing the library](#releasing-the-library)
98

109
## Contributor License Agreements
1110

@@ -15,46 +14,46 @@ have to jump a couple of legal hurdles.
1514
Please fill out either the individual or corporate Contributor License Agreement
1615
(CLA).
1716

18-
* If you are an individual writing original source code and you're sure you
19-
own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
20-
* If you work for a company that wants to allow you to contribute your work,
21-
then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
17+
* If you are an individual writing original source code and you're sure you
18+
own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
19+
* If you work for a company that wants to allow you to contribute your work,
20+
then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
2221

2322
Follow either of the two links above to access the appropriate CLA and
2423
instructions for how to sign and return it. Once we receive it, we'll be able to
2524
accept your pull requests.
2625

2726
## Contributing A Patch
2827

29-
1. Submit an issue describing your proposed change to the repo in question.
30-
1. The repo owner will respond to your issue promptly.
31-
1. If your proposed change is accepted, and you haven't already done so, sign a
32-
Contributor License Agreement (see details above).
33-
1. Fork the desired repo, develop and test your code changes.
34-
1. Ensure that your code adheres to the existing style in the code to which
35-
you are contributing.
36-
1. Ensure that your code has an appropriate set of tests which all pass.
37-
1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
38-
1. Submit a pull request.
28+
1. Submit an issue describing your proposed change to the repo in question.
29+
2. The repo owner will respond to your issue promptly.
30+
3. If your proposed change is accepted, and you haven't already done so, sign a
31+
Contributor License Agreement (see details above).
32+
4. Fork the desired repo, develop and test your code changes.
33+
5. Ensure that your code adheres to the existing style in the code to which
34+
you are contributing.
35+
6. Ensure that your code has an appropriate set of tests which all pass.
36+
7. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
37+
8. Submit a pull request.
3938

4039
## Running the tests
4140

42-
1. [Prepare your environment for Node.js setup][setup].
41+
1. [Prepare your environment for Node.js setup][setup].
4342

44-
1. Install dependencies:
43+
2. Install dependencies:
4544

4645
npm install
4746

48-
1. Run the tests:
47+
3. Run the tests:
4948

5049
# Run unit tests.
5150
npm test
5251

5352
# Run lint check.
5453
npm run lint
5554

56-
1. Lint (and maybe fix) any changes:
55+
4. Lint (and maybe fix) any changes:
5756

5857
npm run format
5958

60-
[setup]: https://cloud.google.com/nodejs/docs/setup
59+
[setup]: https://cloud.google.com/nodejs/docs/setup

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ export interface LoaderOptions {
113113
* browser's language setting, you can force it to display information in a
114114
* particular language when loading the Maps JavaScript API code.
115115
*
116-
* For example, the following example localizes the language to the United
117-
* Kingdom:
116+
* For example, the following example localizes the language to Japan:
118117
*
119118
* ```
120119
* const loader = Loader({apiKey, language: 'ja', region: 'JP'});

0 commit comments

Comments
 (0)