Skip to content

Commit f689909

Browse files
bcoeJustinBeckwith
authored andcommitted
fix(docs): link to reference docs section on googleapis.dev (#210)
* fix(docs): reference docs should link to section of googleapis.dev with API reference * fix(docs): make anchors work in jsdoc
1 parent ffc5efe commit f689909

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/google-cloud-oslogin/.jsdoc.js

+3
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@ module.exports = {
4141
sourceFiles: false,
4242
systemName: '@google-cloud/os-login',
4343
theme: 'lumen'
44+
},
45+
markdown: {
46+
idInHeadings: true
4447
}
4548
};

packages/google-cloud-oslogin/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@ Apache Version 2.0
113113

114114
See [LICENSE](https://github.com/googleapis/nodejs-os-login/blob/master/LICENSE)
115115

116-
[client-docs]: https://googleapis.dev/nodejs/oslogin/latest
116+
[client-docs]: https://googleapis.dev/nodejs/oslogin/latest#reference
117117
[product-docs]: https://cloud.google.com/compute/docs/oslogin/
118118
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
119119
[projects]: https://console.cloud.google.com/project
120120
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
121121
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=oslogin.googleapis.com
122-
[auth]: https://cloud.google.com/docs/authentication/getting-started
122+
[auth]: https://cloud.google.com/docs/authentication/getting-started
123+
124+
<a name="reference"></a>

0 commit comments

Comments
 (0)