Skip to content

Commit 561f9ba

Browse files
authored
docs: fix link to client lib docs (#9638)
1 parent b55170e commit 561f9ba

File tree

3 files changed

+10
-30
lines changed

3 files changed

+10
-30
lines changed

cloudbuild/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Python Client for Cloud Build API (`Alpha`_)
88

99
.. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst
1010
.. _Cloud Build API: https://cloud.google.com/cloud-build
11-
.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/cloudbuild/usage.html
11+
.. _Client Library Documentation: https://googleapis.dev/python/cloudbuild/latest
1212
.. _Product Documentation: https://cloud.google.com/cloud-build
1313

1414
Quick Start

cloudbuild/synth.metadata

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
{
2-
"updateTime": "2019-10-22T20:39:41.016824Z",
2+
"updateTime": "2019-11-07T22:07:36.473613Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.40.2",
8-
"dockerImage": "googleapis/artman@sha256:3b8f7d9b4c206843ce08053474f5c64ae4d388ff7d995e68b59fb65edf73eeb9"
7+
"version": "0.41.0",
8+
"dockerImage": "googleapis/artman@sha256:75b38a3b073a7b243545f2332463096624c802bb1e56b8cb6f22ba1ecd325fa9"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "a9589347c884dd62c45b5852c1b86ff346bf98dc",
16-
"internalRef": "276110444"
17-
}
18-
},
19-
{
20-
"template": {
21-
"name": "python_library",
22-
"origin": "synthtool.gcp",
23-
"version": "0.0.0+dev"
15+
"sha": "0ed34e9fdf601dfc37eb24c40e17495b86771ff4",
16+
"internalRef": "279147036"
2417
}
2518
}
2619
],

cloudbuild/synth.py

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'nox*.py',
4040
'setup.py',
4141
'setup.cfg',
42+
'README.rst'
4243
'**/*.proto'
4344
'google/cloud/devtools/__init__.py' # declare this as a namespace package
4445
],
@@ -57,25 +58,11 @@
5758

5859
# Rename package to `google-cloud-build`
5960
s.replace(
60-
["**/*.rst", "**/*.py", "**/*.md"],
61-
"google-cloud-build",
61+
["**/*.rst", "*/**/*.py", "**/*.md"],
62+
"google-cloud-cloudbuild",
6263
"google-cloud-build"
6364
)
6465

65-
# Fix reference to product documentation
66-
s.replace(
67-
'README.rst',
68-
'https://cloud\.google\.com/cloudbuild',
69-
'https://cloud.google.com/cloud-build'
70-
)
71-
72-
# Fix link to auth
73-
s.replace(
74-
'README.rst',
75-
'https://googleapis\.github\.io/google-cloud-python/latest/core/auth\.html',
76-
'https://googleapis.dev/python/google-api-core/latest/auth.html'
77-
)
78-
7966
# ----------------------------------------------------------------------------
8067
# Add templated files
8168
# ----------------------------------------------------------------------------
@@ -84,4 +71,4 @@
8471
templated_files = common.py_library(unit_cov_level=65, cov_level=65)
8572
s.move(templated_files)
8673

87-
s.shell.run(["nox", "-s", "blacken"], hide_output=False)
74+
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)