From 57940a864728c9e4f1a825b02cfcdedc26ba12f2 Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Thu, 26 Apr 2018 10:26:41 -0700 Subject: [PATCH] Update READMEs to fix numbering and add git clone [(#1464)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/1464) --- .../samples/snippets/api/README.rst | 10 ++++++++-- .../samples/snippets/classify_text/README.rst | 10 ++++++++-- .../samples/snippets/cloud-client/v1/README.rst | 10 ++++++++-- .../samples/snippets/cloud-client/v1beta2/README.rst | 10 ++++++++-- .../samples/snippets/tutorial/README.rst | 10 ++++++++-- 5 files changed, 40 insertions(+), 10 deletions(-) diff --git a/packages/google-cloud-language/samples/snippets/api/README.rst b/packages/google-cloud-language/samples/snippets/api/README.rst index 8ebbe55a279e..5f4edfd27738 100644 --- a/packages/google-cloud-language/samples/snippets/api/README.rst +++ b/packages/google-cloud-language/samples/snippets/api/README.rst @@ -31,10 +31,16 @@ credentials for applications. Install Dependencies ++++++++++++++++++++ +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + #. 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. - .. _Python Development Environment Setup Guide: - https://cloud.google.com/python/setup + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup #. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+. diff --git a/packages/google-cloud-language/samples/snippets/classify_text/README.rst b/packages/google-cloud-language/samples/snippets/classify_text/README.rst index 2ede54da8d6a..a1112f21d016 100644 --- a/packages/google-cloud-language/samples/snippets/classify_text/README.rst +++ b/packages/google-cloud-language/samples/snippets/classify_text/README.rst @@ -35,10 +35,16 @@ credentials for applications. Install Dependencies ++++++++++++++++++++ +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + #. 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. - .. _Python Development Environment Setup Guide: - https://cloud.google.com/python/setup + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup #. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+. diff --git a/packages/google-cloud-language/samples/snippets/cloud-client/v1/README.rst b/packages/google-cloud-language/samples/snippets/cloud-client/v1/README.rst index 7d727df6d81a..97f79a34e6a8 100644 --- a/packages/google-cloud-language/samples/snippets/cloud-client/v1/README.rst +++ b/packages/google-cloud-language/samples/snippets/cloud-client/v1/README.rst @@ -35,10 +35,16 @@ credentials for applications. Install Dependencies ++++++++++++++++++++ +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + #. 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. - .. _Python Development Environment Setup Guide: - https://cloud.google.com/python/setup + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup #. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+. diff --git a/packages/google-cloud-language/samples/snippets/cloud-client/v1beta2/README.rst b/packages/google-cloud-language/samples/snippets/cloud-client/v1beta2/README.rst index e981c2481e03..03400319bebc 100644 --- a/packages/google-cloud-language/samples/snippets/cloud-client/v1beta2/README.rst +++ b/packages/google-cloud-language/samples/snippets/cloud-client/v1beta2/README.rst @@ -35,10 +35,16 @@ credentials for applications. Install Dependencies ++++++++++++++++++++ +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + #. 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. - .. _Python Development Environment Setup Guide: - https://cloud.google.com/python/setup + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup #. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+. diff --git a/packages/google-cloud-language/samples/snippets/tutorial/README.rst b/packages/google-cloud-language/samples/snippets/tutorial/README.rst index 08e7ee90b745..3f83c1a2c640 100644 --- a/packages/google-cloud-language/samples/snippets/tutorial/README.rst +++ b/packages/google-cloud-language/samples/snippets/tutorial/README.rst @@ -31,10 +31,16 @@ credentials for applications. Install Dependencies ++++++++++++++++++++ +#. Clone python-docs-samples and change directory to the sample directory you want to use. + + .. code-block:: bash + + $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + #. 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. - .. _Python Development Environment Setup Guide: - https://cloud.google.com/python/setup + .. _Python Development Environment Setup Guide: + https://cloud.google.com/python/setup #. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.