Skip to content

Commit

Permalink
docs: fix dead link to audio profiles (#177)
Browse files Browse the repository at this point in the history
* [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.

* fix(docs): dead link
  • Loading branch information
yoshi-automation authored and jkwlui committed Jan 28, 2019
1 parent e6e0ec4 commit fcb0b32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ message AudioConfig {
// Effects are applied on top of each other in the order they are given.
// See
//
// [audio-profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles)
// [audio-profiles](https:
// //cloud.google.com/text-to-speech/docs/audio-profiles)
// for current supported profile ids.
repeated string effects_profile_id = 6;
}
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-texttospeech/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2019-01-18T12:13:30.257357Z",
"updateTime": "2019-01-26T12:12:29.811623Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "c3e6909ae91bd2d520995030c34c22259c47e8fb",
"internalRef": "229821540"
"sha": "a6b4398490269577fc511f297b85763ba4701403",
"internalRef": "230969086"
}
},
{
Expand Down
5 changes: 5 additions & 0 deletions packages/google-cloud-texttospeech/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
templates = common_templates.node_library()
s.copy(templates)

# Fix dead link
s.replace('src/v1/doc/google/cloud/texttospeech/v1/doc_cloud_tts.js',
"\(https:[\s\*]+(.*)\)",
r"(https:\1)")

# Node.js specific cleanup
subprocess.run(['npm', 'install'])
subprocess.run(['npm', 'run', 'fix'])

0 comments on commit fcb0b32

Please sign in to comment.