From c1324d621f80ed1f296e507216790a31847962e7 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 13 Nov 2019 12:45:33 -0800 Subject: [PATCH] fix(docs): snippets are now replaced in jsdoc comments (#248) --- packages/google-cloud-oslogin/.jsdoc.js | 3 ++- packages/google-cloud-oslogin/package.json | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/google-cloud-oslogin/.jsdoc.js b/packages/google-cloud-oslogin/.jsdoc.js index fbb58ae0109..6555aafe21b 100644 --- a/packages/google-cloud-oslogin/.jsdoc.js +++ b/packages/google-cloud-oslogin/.jsdoc.js @@ -26,7 +26,8 @@ module.exports = { destination: './docs/' }, plugins: [ - 'plugins/markdown' + 'plugins/markdown', + 'jsdoc-region-tag' ], source: { excludePattern: '(^|\\/|\\\\)[._]', diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index 0ba42cb0226..8ada50e0807 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -49,13 +49,14 @@ "eslint-config-prettier": "^6.0.0", "eslint-plugin-node": "^10.0.0", "eslint-plugin-prettier": "^3.0.0", - "jsdoc-fresh": "^1.0.1", "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.5.5", + "jsdoc-fresh": "^1.0.1", + "jsdoc-region-tag": "^1.0.2", + "linkinator": "^1.5.0", "mocha": "^6.0.0", "nyc": "^14.0.0", "power-assert": "^1.4.4", - "prettier": "^1.9.2", - "linkinator": "^1.5.0" + "prettier": "^1.9.2" } }