Skip to content

Commit

Permalink
fix(build): migrate to main branch (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and sofisl committed Oct 13, 2022
1 parent 1fc08a4 commit f309dad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions packages/google-cloud-language/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![npm version](https://img.shields.io/npm/v/@google-cloud/language.svg)](https://www.npmjs.org/package/@google-cloud/language)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-language/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-language)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-language/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-language)



Expand All @@ -17,7 +17,7 @@ analysis, and syntax analysis. This API is part of the larger Cloud Machine Lear


A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-language/blob/master/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/nodejs-language/blob/main/CHANGELOG.md).

* [Natural Language Node.js Client API Reference][client-docs]
* [Natural Language Documentation][product-docs]
Expand Down Expand Up @@ -90,13 +90,13 @@ async function quickstart() {

## Samples

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-language/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-language/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md) |
| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md) |



Expand Down Expand Up @@ -145,7 +145,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]

## Contributing

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-language/blob/master/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-language/blob/main/CONTRIBUTING.md).

Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
Expand All @@ -157,7 +157,7 @@ to its templates in

Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-language/blob/master/LICENSE)
See [LICENSE](https://github.com/googleapis/nodejs-language/blob/main/LICENSE)

[client-docs]: https://cloud.google.com/nodejs/docs/reference/language/latest
[product-docs]: https://cloud.google.com/natural-language/docs/
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-language/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Before running the samples, make sure you've followed the steps outlined in

### Analyze v1

View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js).
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/analyze.v1.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md)

Expand All @@ -52,7 +52,7 @@ __Usage:__

### Quickstart

View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/quickstart.js).
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/quickstart.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)

Expand All @@ -69,7 +69,7 @@ __Usage:__

### Set Endpoint

View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.js).
View the [source code](https://github.com/googleapis/nodejs-language/blob/main/samples/setEndpoint.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/setEndpoint.js,samples/README.md)

Expand Down

0 comments on commit f309dad

Please sign in to comment.