Skip to content

Commit

Permalink
docs: check broken links in generated docs (#268)
Browse files Browse the repository at this point in the history
* build: check dead links on Kokoro

* recursive crawl local links

* add longrunning module

* fix link (already fixed in protos
  • Loading branch information
jkwlui authored Jan 10, 2019
1 parent 5850574 commit 4020637
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-node/.jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/ink-docstrap/template',
template: './node_modules/jsdoc-baseline',
recurse: true,
verbose: true,
destination: './docs/'
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"eslint-config-prettier": "^3.0.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"ink-docstrap": "^1.3.2",
"jsdoc-baseline": "git+https://github.com/hegemonic/jsdoc-baseline.git",
"intelli-espower-loader": "^1.0.1",
"jsdoc": "^3.5.5",
"mocha": "^5.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-node/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
/**
* @namespace google.rpc
*/
/**
* @namespace google.longrunning
*/

'use strict';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -689,4 +689,4 @@ const SpeechRecognitionAlternative = {
*/
const WordInfo = {
// This is for documentation. Actual contents will be loaded by gRPC.
};
};

0 comments on commit 4020637

Please sign in to comment.