Skip to content

Commit

Permalink
Avoid overwriting 'README.rst' / 'docs/index.rst'.
Browse files Browse the repository at this point in the history
Put back the 'stable/' -> 'latest/' change from pr #5901.
  • Loading branch information
tseaver committed Sep 12, 2018
1 parent 3b2e44b commit f6c55ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions kms/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ service, for direct use by other cloud resources and applications.

.. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _Cloud Key Management Service (KMS) API: https://cloud.google.com/kms
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/kms/usage.html
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/kms/index.html
.. _Product Documentation: https://cloud.google.com/kms

Quick Start
Expand All @@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps:
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Key Management Service (KMS) API.: https://cloud.google.com/kms
.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html
.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html

Installation
~~~~~~~~~~~~
Expand Down Expand Up @@ -73,4 +73,4 @@ Next Steps
APIs that we cover.

.. _Cloud Key Management Service (KMS) API Product documentation: https://cloud.google.com/kms
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
6 changes: 3 additions & 3 deletions kms/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ service, for direct use by other cloud resources and applications.

.. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _Cloud Key Management Service (KMS) API: https://cloud.google.com/kms
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/kms/usage.html
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/kms/index.html
.. _Product Documentation: https://cloud.google.com/kms

Quick Start
Expand All @@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps:
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Key Management Service (KMS) API.: https://cloud.google.com/kms
.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html
.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html

Installation
~~~~~~~~~~~~
Expand Down Expand Up @@ -81,4 +81,4 @@ Api Reference
:maxdepth: 2

gapic/v1/api
gapic/v1/types
gapic/v1/types
7 changes: 6 additions & 1 deletion kms/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
'kms', version, config_path='artman_cloudkms.yaml',
artman_output_name='kms-v1')

s.copy(library)
s.move(
library,
excludes=[
'docs/**/*',
'README.rst',
])

# Set Release Status
release_status = 'Development Status :: 3 - Alpha'
Expand Down

0 comments on commit f6c55ae

Please sign in to comment.