Skip to content

Commit 35698e9

Browse files
committed
Fixes links in README
1 parent a65a4f3 commit 35698e9

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

vision/cloud-client/README.rst

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Google Cloud Vision API Python Samples
44
===============================================================================
55

6-
This directory contains samples for Google Cloud Vision API. `Google Cloud Vision API`_ allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content
6+
This directory contains samples for Google Cloud Vision API. [Google Cloud Vision API][0] allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content
77

88

99

1010

11-
.. _Google Cloud Vision API: https://cloud.google.com/vision/docs
11+
[0]: https://cloud.google.com/vision/docs
1212

1313
Setup
1414
-------------------------------------------------------------------------------
@@ -17,12 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
20+
Authentication is typically done through [Application Default Credentials][11],
2121
which means you do not have to change the code to authenticate as long as
2222
your environment has credentials. You have a few options for setting up
2323
authentication:
2424

25-
#. When running locally, use the `Google Cloud SDK`_
25+
#. When running locally, use the [Google Cloud SDK][12]
2626

2727
.. code-block:: bash
2828
@@ -31,7 +31,7 @@ authentication:
3131
3232
#. When running on App Engine or Compute Engine, credentials are already
3333
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
34+
with [additional scopes][13].
3535

3636
#. You can create a `Service Account key file`_. This file can be used to
3737
authenticate to Google Cloud Platform services from any environment. To use
@@ -42,14 +42,14 @@ authentication:
4242
4343
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
4444
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
45+
[11]: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46+
[12]: https://cloud.google.com/compute/docs/authentication#using
47+
[13]: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
4848

4949
Install Dependencies
5050
++++++++++++++++++++
5151

52-
#. Install `pip`_ and `virtualenv`_ if you do not already have them.
52+
#. Install [pip][21] and [virtualenv][22] if you do not already have them.
5353

5454
#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
5555

@@ -64,8 +64,8 @@ Install Dependencies
6464
6565
$ pip install -r requirements.txt
6666
67-
.. _pip: https://pip.pypa.io/
68-
.. _virtualenv: https://virtualenv.pypa.io/
67+
[21]: https://pip.pypa.io/
68+
[22]: https://virtualenv.pypa.io/
6969

7070
Samples
7171
-------------------------------------------------------------------------------
@@ -152,16 +152,11 @@ To run this sample:
152152
The client library
153153
-------------------------------------------------------------------------------
154154

155-
This sample uses the `Google Cloud Client Library for Python`_.
155+
This sample uses the [Google Cloud Client Library for Python][1].
156156
You can read the documentation for more details on API usage and use GitHub
157-
to `browse the source`_ and `report issues`_.
157+
to [browse the source][2] and [report issues][3].
158158

159-
.. Google Cloud Client Library for Python:
160-
https://googlecloudplatform.github.io/google-cloud-python/
161-
.. browse the source:
162-
https://github.com/GoogleCloudPlatform/google-cloud-python
163-
.. report issues:
164-
https://github.com/GoogleCloudPlatform/google-cloud-python/issues
165-
166-
167-
.. _Google Cloud SDK: https://cloud.google.com/sdk/
159+
[1]: https://googlecloudplatform.github.io/google-cloud-python/
160+
[2]: https://github.com/GoogleCloudPlatform/google-cloud-python
161+
[3]: https://github.com/GoogleCloudPlatform/google-cloud-python/issues
162+
[4]: https://cloud.google.com/sdk/

0 commit comments

Comments
 (0)