Skip to content

Commit

Permalink
docs: generate README.md, samples/README.md (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and JustinBeckwith committed Jun 5, 2019
1 parent 89644a6 commit 4a3df8f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 36 deletions.
23 changes: 0 additions & 23 deletions packages/google-cloud-speech/.cloud-repo-tools.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/google-cloud-speech/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speech",
"name_pretty": "Cloud Speech-to-Text",
"name_pretty": "Cloud Speech",
"product_documentation": "https://cloud.google.com/speech-to-text/docs/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/speech/latest/",
"issue_tracker": "",
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-speech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# [Cloud Speech-to-Text: Node.js Client](https://github.com/googleapis/nodejs-speech)
# [Cloud Speech: Node.js Client](https://github.com/googleapis/nodejs-speech)

[![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/speech.svg)](https://www.npmjs.org/package/@google-cloud/speech)
Expand All @@ -14,8 +14,8 @@
Cloud Speech Client Library for Node.js


* [Cloud Speech-to-Text Node.js Client API Reference][client-docs]
* [Cloud Speech-to-Text Documentation][product-docs]
* [Cloud Speech Node.js Client API Reference][client-docs]
* [Cloud Speech Documentation][product-docs]
* [github.com/googleapis/nodejs-speech](https://github.com/googleapis/nodejs-speech)

Read more about the client libraries for Cloud APIs, including the older
Expand All @@ -40,7 +40,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
### Before you begin

1. [Select or create a Cloud Platform project][projects].
1. [Enable the Cloud Speech-to-Text API][enable_api].
1. [Enable the Cloud Speech API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
API from your local workstation.

Expand Down Expand Up @@ -111,7 +111,7 @@ has instructions for running the samples.



The [Cloud Speech-to-Text Node.js Client API Reference][client-docs] documentation
The [Cloud Speech Node.js Client API Reference][client-docs] documentation
also contains samples.

## Versioning
Expand Down
2 changes: 0 additions & 2 deletions packages/google-cloud-speech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"scripts": {
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"lint": "eslint '**/*.js'",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha system-test/*.js --timeout 600000",
Expand All @@ -50,7 +49,6 @@
"through2": "^3.0.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"codecov": "^3.0.2",
"eslint": "^5.0.0",
"eslint-config-prettier": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-speech/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# [Cloud Speech-to-Text: Node.js Samples](https://github.com/googleapis/nodejs-speech)
# [Cloud Speech: Node.js Samples](https://github.com/googleapis/nodejs-speech)

[![Open in Cloud Shell][shell_img]][shell_link]

Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-speech/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2019-06-05T14:27:07.736324Z",
"updateTime": "2019-06-05T22:16:42.898195Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "47c142a7cecc6efc9f6f8af804b8be55392b795b",
"internalRef": "251635729"
"sha": "5487c78983f6bd5bbafa69166593826a90778a2f",
"internalRef": "251716150"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-speech/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# skip index, protos, package.json, and README.md
s.copy(
library,
excludes=['package.json', 'README.md', 'src/index.js',]
excludes=['package.json', 'src/index.js',]
)

# Manual helper methods overrides the streaming API so that it
Expand Down

0 comments on commit 4a3df8f

Please sign in to comment.