Skip to content

Commit 4583189

Browse files
authored
fix: update README templates to use correct API reference link for st… (#885)
* fix: update README templates to use correct API reference link for storage-control * chore: regenerate baseline
1 parent 7ba034a commit 4583189

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

generator/gapic-generator-typescript/templates/cjs/typescript_gapic/README.md.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
A comprehensive list of changes in each version may be found in
1616
[the CHANGELOG][homepage_changelog].
1717

18+
{% if api.naming.namePath == 'google-storage-control' -%}
19+
* [{{ api.title or api.naming.productName }} Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/storage-control/latest)
20+
{% else -%}
1821
* [{{ api.title or api.naming.productName }} Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/{{ api.naming.nameNotCapitalized }}/latest)
22+
{% endif -%}
1923
{% if api.documentationUri %}* [{{ api.title or api.naming.productName }} Documentation]({{ api.documentationUri }}){% endif %}
2024

2125
Read more about the client libraries for Cloud APIs, including the older

generator/gapic-generator-typescript/templates/esm/typescript_gapic/README.md.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
A comprehensive list of changes in each version may be found in
1616
[the CHANGELOG][homepage_changelog].
1717

18+
{% if api.naming.namePath == 'google-storage-control' -%}
19+
* [{{ api.title or api.naming.productName }} Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/storage-control/latest)
20+
{% else -%}
1821
* [{{ api.title or api.naming.productName }} Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/{{ api.naming.nameNotCapitalized }}/latest)
22+
{% endif -%}
1923
{% if api.documentationUri %}* [{{ api.title or api.naming.productName }} Documentation]({{ api.documentationUri }}){% endif %}
2024

2125
Read more about the client libraries for Cloud APIs, including the older

0 commit comments

Comments
 (0)