Skip to content

Commit 895cbf5

Browse files
frankynJon Wayne Parrott
authored andcommitted
Update READMEs to fix numbering and add git clone (GoogleCloudPlatform#1464)
1 parent 834c6fd commit 895cbf5

File tree

44 files changed

+390
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+390
-121
lines changed

bigquery/cloud-client/README.rst

Lines changed: 8 additions & 2 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

bigtable/hello/README.rst

Lines changed: 8 additions & 2 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

bigtable/hello_happybase/README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,16 @@ credentials for applications.
3838
Install Dependencies
3939
++++++++++++++++++++
4040

41+
#. Clone python-docs-samples and change directory to the sample directory you want to use.
42+
43+
.. code-block:: bash
44+
45+
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
46+
4147
#. 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.
4248

43-
.. _Python Development Environment Setup Guide:
44-
https://cloud.google.com/python/setup
49+
.. _Python Development Environment Setup Guide:
50+
https://cloud.google.com/python/setup
4551

4652
#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
4753

bigtable/metricscaler/README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,16 @@ credentials for applications.
3535
Install Dependencies
3636
++++++++++++++++++++
3737

38+
#. Clone python-docs-samples and change directory to the sample directory you want to use.
39+
40+
.. code-block:: bash
41+
42+
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
43+
3844
#. 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.
3945

40-
.. _Python Development Environment Setup Guide:
41-
https://cloud.google.com/python/setup
46+
.. _Python Development Environment Setup Guide:
47+
https://cloud.google.com/python/setup
4248

4349
#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
4450

container_engine/api-client/README.rst

Lines changed: 8 additions & 2 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

datastore/cloud-client/README.rst

Lines changed: 8 additions & 2 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

dlp/README.rst

Lines changed: 17 additions & 11 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

@@ -59,7 +65,7 @@ Quickstart
5965
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6066

6167
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
62-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/quickstart.py;dlp/README.rst
68+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/quickstart.py,dlp/README.rst
6369

6470

6571

@@ -75,7 +81,7 @@ Inspect Content
7581
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7682

7783
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
78-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/inspect_content.py;dlp/README.rst
84+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/inspect_content.py,dlp/README.rst
7985

8086

8187

@@ -109,7 +115,7 @@ Redact Content
109115
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
110116

111117
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
112-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/redact.py;dlp/README.rst
118+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/redact.py,dlp/README.rst
113119

114120

115121

@@ -156,7 +162,7 @@ Metadata
156162
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
157163
158164
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
159-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/metadata.py;dlp/README.rst
165+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/metadata.py,dlp/README.rst
160166
161167
162168
@@ -186,7 +192,7 @@ Jobs
186192
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
187193
188194
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
189-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/jobs.py;dlp/README.rst
195+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/jobs.py,dlp/README.rst
190196
191197
192198
@@ -216,7 +222,7 @@ Templates
216222
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
217223
218224
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
219-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/templates.py;dlp/README.rst
225+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/templates.py,dlp/README.rst
220226
221227
222228
@@ -246,7 +252,7 @@ Triggers
246252
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
247253
248254
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
249-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/triggers.py;dlp/README.rst
255+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/triggers.py,dlp/README.rst
250256
251257
252258
@@ -276,7 +282,7 @@ Risk Analysis
276282
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
277283
278284
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
279-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/risk.py;dlp/README.rst
285+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/risk.py,dlp/README.rst
280286
281287
282288
@@ -312,7 +318,7 @@ DeID
312318
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
313319
314320
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
315-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/deid.py;dlp/README.rst
321+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=dlp/deid.py,dlp/README.rst
316322
317323
318324

dns/api/README.rst

Lines changed: 8 additions & 2 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

error_reporting/api/README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ credentials for applications.
3232
Install Dependencies
3333
++++++++++++++++++++
3434

35+
#. Clone python-docs-samples and change directory to the sample directory you want to use.
36+
37+
.. code-block:: bash
38+
39+
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
40+
3541
#. 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.
3642

37-
.. _Python Development Environment Setup Guide:
38-
https://cloud.google.com/python/setup
43+
.. _Python Development Environment Setup Guide:
44+
https://cloud.google.com/python/setup
3945

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

iot/api-client/end_to_end_example/README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ credentials for applications.
3232
Install Dependencies
3333
++++++++++++++++++++
3434

35+
#. Clone python-docs-samples and change directory to the sample directory you want to use.
36+
37+
.. code-block:: bash
38+
39+
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
40+
3541
#. 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.
3642

37-
.. _Python Development Environment Setup Guide:
38-
https://cloud.google.com/python/setup
43+
.. _Python Development Environment Setup Guide:
44+
https://cloud.google.com/python/setup
3945

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

0 commit comments

Comments
 (0)