Skip to content

Commit 14e570a

Browse files
authored
Changing all pypi.python.org links to warehouse links. (#3641)
Done via $ export OLD='https\:\/\/pypi.python.org\/pypi\/' $ export NEW='https\:\/\/pypi.org\/project\/' $ git grep -l ${OLD} | xargs sed -i s/${OLD}/${NEW}/g Then manually going through and adding a trailing slash to all warehouse links. (Though I did undo changes to `docs/json/`.)
1 parent c262dbb commit 14e570a

File tree

21 files changed

+53
-54
lines changed

21 files changed

+53
-54
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ instead of
402402
``https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/CONTRIBUTING.rst``)
403403
may cause problems creating links or rendering the description.
404404

405-
.. _description on PyPI: https://pypi.python.org/pypi/google-cloud
405+
.. _description on PyPI: https://pypi.org/project/google-cloud/
406406

407407
********************************************
408408
Travis Configuration and Build Optimizations

README.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,35 +57,35 @@ Cloud Platform services:
5757
still a work-in-progress and is more likely to get backwards-incompatible
5858
updates. See `versioning`_ for more details.
5959

60-
.. _Google Cloud Datastore: https://pypi.python.org/pypi/google-cloud-datastore
60+
.. _Google Cloud Datastore: https://pypi.org/project/google-cloud-datastore/
6161
.. _Datastore README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/datastore
62-
.. _Google Cloud Storage: https://pypi.python.org/pypi/google-cloud-storage
62+
.. _Google Cloud Storage: https://pypi.org/project/google-cloud-storage/
6363
.. _Storage README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/storage
64-
.. _Google Cloud Pub/Sub: https://pypi.python.org/pypi/google-cloud-pubsub
64+
.. _Google Cloud Pub/Sub: https://pypi.org/project/google-cloud-pubsub/
6565
.. _Pub/Sub README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/pubsub
66-
.. _Google BigQuery: https://pypi.python.org/pypi/google-cloud-bigquery
66+
.. _Google BigQuery: https://pypi.org/project/google-cloud-bigquery/
6767
.. _BigQuery README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/bigquery
68-
.. _Google Cloud Resource Manager: https://pypi.python.org/pypi/google-cloud-resource-manager
68+
.. _Google Cloud Resource Manager: https://pypi.org/project/google-cloud-resource-manager/
6969
.. _Resource Manager README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/resource_manager
70-
.. _Stackdriver Logging: https://pypi.python.org/pypi/google-cloud-logging
70+
.. _Stackdriver Logging: https://pypi.org/project/google-cloud-logging/
7171
.. _Logging README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/logging
72-
.. _Stackdriver Monitoring: https://pypi.python.org/pypi/google-cloud-monitoring
72+
.. _Stackdriver Monitoring: https://pypi.org/project/google-cloud-monitoring/
7373
.. _Monitoring README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/monitoring
74-
.. _Google Cloud Bigtable: https://pypi.python.org/pypi/google-cloud-bigtable
74+
.. _Google Cloud Bigtable: https://pypi.org/project/google-cloud-bigtable/
7575
.. _Bigtable README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/bigtable
76-
.. _Google Cloud DNS: https://pypi.python.org/pypi/google-cloud-dns
76+
.. _Google Cloud DNS: https://pypi.org/project/google-cloud-dns/
7777
.. _DNS README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/dns
78-
.. _Stackdriver Error Reporting: https://pypi.python.org/pypi/google-cloud-error-reporting
78+
.. _Stackdriver Error Reporting: https://pypi.org/project/google-cloud-error-reporting/
7979
.. _Error Reporting README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/error_reporting
80-
.. _Google Cloud Natural Language: https://pypi.python.org/pypi/google-cloud-language
80+
.. _Google Cloud Natural Language: https://pypi.org/project/google-cloud-language/
8181
.. _Natural Language README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/language
82-
.. _Google Cloud Translation: https://pypi.python.org/pypi/google-cloud-translate
82+
.. _Google Cloud Translation: https://pypi.org/project/google-cloud-translate/
8383
.. _Translation README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/translate
84-
.. _Google Cloud Speech: https://pypi.python.org/pypi/google-cloud-speech
84+
.. _Google Cloud Speech: https://pypi.org/project/google-cloud-speech/
8585
.. _Speech README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/speech
86-
.. _Google Cloud Vision: https://pypi.python.org/pypi/google-cloud-vision
86+
.. _Google Cloud Vision: https://pypi.org/project/google-cloud-vision/
8787
.. _Vision README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/vision
88-
.. _Google Cloud Bigtable - HappyBase: https://pypi.python.org/pypi/google-cloud-happybase/
88+
.. _Google Cloud Bigtable - HappyBase: https://pypi.org/project/google-cloud-happybase/
8989
.. _HappyBase README: https://github.com/GoogleCloudPlatform/google-cloud-python-happybase
9090
.. _Google Cloud Runtime Configuration: https://cloud.google.com/deployment-manager/runtime-configurator/
9191
.. _Runtime Config README: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/runtimeconfig
@@ -159,6 +159,6 @@ Apache 2.0 - See `the LICENSE`_ for more information.
159159
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-python/badge.svg?branch=master
160160
:target: https://coveralls.io/r/GoogleCloudPlatform/google-cloud-python?branch=master
161161
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud.svg
162-
:target: https://pypi.python.org/pypi/google-cloud
162+
:target: https://pypi.org/project/google-cloud/
163163
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud.svg
164-
:target: https://pypi.python.org/pypi/google-cloud
164+
:target: https://pypi.org/project/google-cloud/

bigquery/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ to connect to BigQuery using this Client Library.
8989
.. _BigQuery documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery/usage.html
9090

9191
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-bigquery.svg
92-
:target: https://pypi.python.org/pypi/google-cloud-bigquery
92+
:target: https://pypi.org/project/google-cloud-bigquery/
9393
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigquery.svg
94-
:target: https://pypi.python.org/pypi/google-cloud-bigquery
94+
:target: https://pypi.org/project/google-cloud-bigquery/

bigtable/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ See the ``google-cloud-python`` API Bigtable `Documentation`_ to learn
4242
how to manage your data in Bigtable tables.
4343

4444
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-bigtable.svg
45-
:target: https://pypi.python.org/pypi/google-cloud-bigtable
45+
:target: https://pypi.org/project/google-cloud-bigtable/
4646
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigtable.svg
47-
:target: https://pypi.python.org/pypi/google-cloud-bigtable
47+
:target: https://pypi.org/project/google-cloud-bigtable/

core/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Quick Start
1919
$ pip install --upgrade google-cloud-core
2020
2121
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-core.svg
22-
:target: https://pypi.python.org/pypi/google-cloud-core
22+
:target: https://pypi.org/project/google-cloud-core/
2323
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-core.svg
24-
:target: https://pypi.python.org/pypi/google-cloud-core
24+
:target: https://pypi.org/project/google-cloud-core/

datastore/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ how to activate Cloud Datastore for your project.
6767
print(result)
6868
6969
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-datastore.svg
70-
:target: https://pypi.python.org/pypi/google-cloud-datastore
70+
:target: https://pypi.org/project/google-cloud-datastore/
7171
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-datastore.svg
72-
:target: https://pypi.python.org/pypi/google-cloud-datastore
72+
:target: https://pypi.org/project/google-cloud-datastore/

dns/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ See the ``google-cloud-python`` API DNS `Documentation`_ to learn
4242
how to manage DNS records using this Client Library.
4343

4444
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-dns.svg
45-
:target: https://pypi.python.org/pypi/google-cloud-dns
45+
:target: https://pypi.org/project/google-cloud-dns/
4646
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-dns.svg
47-
:target: https://pypi.python.org/pypi/google-cloud-dns
47+
:target: https://pypi.org/project/google-cloud-dns/

docs/bigtable/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ In the hierarchy of API concepts
4040

4141
.. _Google Cloud Bigtable: https://cloud.google.com/bigtable/docs/
4242
.. _gRPC: http://www.grpc.io/
43-
.. _grpcio: https://pypi.python.org/pypi/grpcio
43+
.. _grpcio: https://pypi.org/project/grpcio/

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ Resources
7373
* `GitHub <https://github.com/GoogleCloudPlatform/google-cloud-python/>`__
7474
* `Issues <https://github.com/GoogleCloudPlatform/google-cloud-python/issues>`__
7575
* `Stack Overflow <http://stackoverflow.com/questions/tagged/google-cloud-python>`__
76-
* `PyPI <https://pypi.python.org/pypi/google-cloud>`__
76+
* `PyPI <https://pypi.org/project/google-cloud/>`__

docs/spanner/usage.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ In the hierarchy of API concepts
4040

4141
.. _Cloud Spanner: https://cloud.google.com/spanner/docs/
4242
.. _gRPC: http://www.grpc.io/
43-
.. _grpcio: https://pypi.python.org/pypi/grpcio
44-
43+
.. _grpcio: https://pypi.org/project/grpcio/

0 commit comments

Comments
 (0)