From c4a7376b88ac6f0d5a7fcb597daa086f0ca0098b Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Thu, 27 Jul 2017 07:31:54 -0700 Subject: [PATCH 1/2] Fix translate docs build. --- docs/translate/client.rst | 2 +- nox.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/translate/client.rst b/docs/translate/client.rst index 9f6aa5e1ece9..b2ac53f91c71 100644 --- a/docs/translate/client.rst +++ b/docs/translate/client.rst @@ -1,7 +1,7 @@ Translation Client ================== -.. automodule:: google.cloud.translate.client +.. automodule:: google.cloud.translate_v1.client :members: :undoc-members: :show-inheritance: diff --git a/nox.py b/nox.py index 25db4c616c4f..bf4a5d57d6c1 100644 --- a/nox.py +++ b/nox.py @@ -30,13 +30,13 @@ def docs(session): # Install Sphinx and also all of the google-cloud-* packages. session.chdir(os.path.realpath(os.path.dirname(__file__))) session.install('Sphinx >= 1.6.2', 'sphinx_rtd_theme') + session.install('.') session.install( 'core/', 'bigquery/', 'bigtable/', 'datastore/', 'dns/', 'language/', 'logging/', 'error_reporting/', 'monitoring/', 'pubsub/', 'resource_manager/', 'runtimeconfig/', 'spanner/', 'speech/', 'storage/', 'trace/', 'translate/', 'vision/', ) - session.install('-e', '.') # Build the docs! session.run('bash', './test_utils/scripts/update_docs.sh') From b9e8ec44c3f8f3842c655c532f995dfa3d36a709 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Thu, 27 Jul 2017 07:37:36 -0700 Subject: [PATCH 2/2] Early morning /facepalm. Translate is v2. --- docs/translate/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/translate/client.rst b/docs/translate/client.rst index b2ac53f91c71..fbd7a4a18aeb 100644 --- a/docs/translate/client.rst +++ b/docs/translate/client.rst @@ -1,7 +1,7 @@ Translation Client ================== -.. automodule:: google.cloud.translate_v1.client +.. automodule:: google.cloud.translate_v2.client :members: :undoc-members: :show-inheritance: