Skip to content

Commit

Permalink
Assorted synth fixups / cleanups (#6400)
Browse files Browse the repository at this point in the history
* Asset: Replace 'stable' -> 'latest' in docs links, caused by out-of-date synth.
* AutoML: fix copying generated docs.
* Bigtable: remove now-spurious fixup from 'synth.py'.
* DLP: remove now-spurious fixups from 'synth.py'.
* Monitoring: remove now-spurious fixups from 'synth.py'.
* Redis: remove now-spurious fixups from 'synth.py'.
* Speech: remove now-spurious fixups from 'synth.py'.
  • Loading branch information
tseaver authored Nov 7, 2018
1 parent 0eaed15 commit 97bc356
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions packages/google-cloud-redis/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,34 +92,3 @@

r"""
fields from ``Instance``: ``displayName``, ``labels``, ``memorySizeGb``, and ``redisConfig``.""",)

# Set Release Status
release_status = 'Development Status :: 3 - Alpha'
s.replace('setup.py',
'(release_status = )(.*)$',
f"\\1'{release_status}'")

# Fix the enable API link
s.replace(
'README.rst',
r'.. _Enable the Google Cloud Memorystore for Redis API.: https://cloud.google.com/redis',
'.. _Enable the Google Cloud Memorystore for Redis API.: https://console.cloud.google.com/apis/'
'library/redis.googleapis.com')

# Fix link to product page
s.replace(
'README.rst',
r'https://cloud.google.com/redis',
'https://cloud.google.com/memorystore/')

# Fix link to Client Library Documentation
s.replace(
'README.rst',
r'https://googlecloudplatform.github.io/google-cloud-python/stable/redis/usage.html',
'https://googlecloudplatform.github.io/google-cloud-python/latest/redis/index.html')

# Fix link to Auth instructions
s.replace(
'README.rst',
r'https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html',
'https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html')

0 comments on commit 97bc356

Please sign in to comment.