Skip to content

Commit 21ff713

Browse files
danoscarmiketseaver
authored andcommitted
Speech: fix broken links to description of 'Beta' (googleapis#5917)
1 parent a7af02f commit 21ff713

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

speech/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python Client for Cloud Speech API (`Beta`_)
66
- `Client Library Documentation`_
77
- `Product Documentation`_
88

9-
.. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
9+
.. _Beta: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
1010
.. _Cloud Speech API: https://cloud.google.com/speech
1111
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/speech/usage.html
1212
.. _Product Documentation: https://cloud.google.com/speech

speech/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python Client for Cloud Speech API (`Beta`_)
66
- `Client Library Documentation`_
77
- `Product Documentation`_
88

9-
.. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
9+
.. _Beta: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
1010
.. _Cloud Speech API: https://cloud.google.com/speech
1111
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/speech/usage.html
1212
.. _Product Documentation: https://cloud.google.com/speech

speech/synth.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
'`Alpha`', '`Beta`')
6969

7070

71+
s.replace(
72+
['README.rst', 'docs/index.rst'],
73+
'.. _Alpha', '.. _Beta')
74+
75+
7176
# Fix bad reference to operations_v1
7277
s.replace(
7378
'**/gapic/**/*_transport.py',

0 commit comments

Comments
 (0)