Skip to content

Commit 6d80ff9

Browse files
authored
chore: remove release level string from readmes and yardocs
1 parent 364b8ae commit 6d80ff9

144 files changed

Lines changed: 542 additions & 210 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 145 additions & 92 deletions
Large diffs are not rendered by default.

google-cloud-asset/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ruby Client for Cloud Asset API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
1+
# Ruby Client for Cloud Asset API
22

33
[Cloud Asset API][Product Documentation]:
44
The cloud asset API manages the history and inventory of cloud resources.

google-cloud-asset/lib/google/cloud/asset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Cloud
2121
# rubocop:disable LineLength
2222

2323
##
24-
# # Ruby Client for Cloud Asset API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
24+
# # Ruby Client for Cloud Asset API
2525
#
2626
# [Cloud Asset API][Product Documentation]:
2727
# The cloud asset API manages the history and inventory of cloud resources.

google-cloud-asset/lib/google/cloud/asset/v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Asset
2222
# rubocop:disable LineLength
2323

2424
##
25-
# # Ruby Client for Cloud Asset API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25+
# # Ruby Client for Cloud Asset API
2626
#
2727
# [Cloud Asset API][Product Documentation]:
2828
# The cloud asset API manages the history and inventory of cloud resources.

google-cloud-asset/lib/google/cloud/asset/v1beta1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Asset
2222
# rubocop:disable LineLength
2323

2424
##
25-
# # Ruby Client for Cloud Asset API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25+
# # Ruby Client for Cloud Asset API
2626
#
2727
# [Cloud Asset API][Product Documentation]:
2828
# The cloud asset API manages the history and inventory of cloud resources.

google-cloud-asset/synth.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@
120120
'port = service_port || self.class::DEFAULT_SERVICE_PORT'
121121
)
122122

123+
# Remove legacy release level from documentation
124+
s.replace(
125+
[
126+
'README.md',
127+
'lib/google/cloud/**/*.rb'
128+
],
129+
'\\s+\\(\\[\\w+\\]\\(https://github\\.com/(googleapis|GoogleCloudPlatform)/google-cloud-ruby#versioning\\)\\)',
130+
''
131+
)
132+
123133
# https://github.com/googleapis/gapic-generator/issues/2180
124134
s.replace(
125135
'google-cloud-asset.gemspec',
@@ -184,11 +194,6 @@ def escape_braces(match):
184194
'https://googlecloudplatform\\.github\\.io/google-cloud-ruby',
185195
'https://googleapis.github.io/google-cloud-ruby'
186196
)
187-
s.replace(
188-
'README.md',
189-
'# Ruby Client for Cloud Asset API \(\[Alpha\]\(https:\/\/github\.com\/googleapis\/google-cloud-ruby#versioning\)\)',
190-
'# Ruby Client for Cloud Asset API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))'
191-
)
192197

193198
for version in ['v1', 'v1beta1']:
194199
# Require the helpers file

google-cloud-automl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ruby Client for Cloud AutoML API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1+
# Ruby Client for Cloud AutoML API
22

33
[Cloud AutoML API][Product Documentation]:
44
Train high-quality custom machine learning models with minimum effort and

google-cloud-automl/lib/google/cloud/automl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Cloud
2121
# rubocop:disable LineLength
2222

2323
##
24-
# # Ruby Client for Cloud AutoML API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
24+
# # Ruby Client for Cloud AutoML API
2525
#
2626
# [Cloud AutoML API][Product Documentation]:
2727
# Train high-quality custom machine learning models with minimum effort and

google-cloud-automl/lib/google/cloud/automl/v1beta1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module AutoML
2424
# rubocop:disable LineLength
2525

2626
##
27-
# # Ruby Client for Cloud AutoML API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
27+
# # Ruby Client for Cloud AutoML API
2828
#
2929
# [Cloud AutoML API][Product Documentation]:
3030
# Train high-quality custom machine learning models with minimum effort and

google-cloud-automl/synth.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,16 @@
160160
])
161161
)
162162

163+
# Remove legacy release level from documentation
164+
s.replace(
165+
[
166+
'README.md',
167+
'lib/google/cloud/**/*.rb'
168+
],
169+
'\\s+\\(\\[\\w+\\]\\(https://github\\.com/(googleapis|GoogleCloudPlatform)/google-cloud-ruby#versioning\\)\\)',
170+
''
171+
)
172+
163173
# https://github.com/googleapis/gapic-generator/issues/2242
164174
def escape_braces(match):
165175
expr = re.compile('^([^`]*(`[^`]*`[^`]*)*)([^`#\\$\\\\])\\{([\\w,]+)\\}')

0 commit comments

Comments
 (0)