Skip to content

Commit 19b9f90

Browse files
frankyndanoscarmike
authored andcommitted
Update READMEs to fix numbering and add git clone [(#1464)](#1464)
1 parent de569d7 commit 19b9f90

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

translation/samples/snippets/README.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@ credentials for applications.
3131
Install Dependencies
3232
++++++++++++++++++++
3333

34+
#. Clone python-docs-samples and change directory to the sample directory you want to use.
35+
36+
.. code-block:: bash
37+
38+
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
39+
3440
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.
3541

36-
.. _Python Development Environment Setup Guide:
37-
https://cloud.google.com/python/setup
42+
.. _Python Development Environment Setup Guide:
43+
https://cloud.google.com/python/setup
3844

3945
#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
4046

@@ -103,9 +109,8 @@ To run this sample:
103109
list-languages-with-target
104110
Lists all available languages and localizes them to
105111
the target language. Target must be an ISO 639-1
106-
language code. See
107-
https://g.co/cloud/translate/v2/translate-
108-
reference#supported_languages
112+
language code. See https://g.co/cloud/translate/v2
113+
/translate-reference#supported_languages
109114
translate-text Translates text into the target language. Target must
110115
be an ISO 639-1 language code. See
111116
https://g.co/cloud/translate/v2/translate-

0 commit comments

Comments
 (0)