From 27f2763b67241ea9ce80daec8b1aa6c85bd543f6 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Thu, 26 Dec 2019 11:46:53 -0500 Subject: [PATCH] docs: update jsdoc license/samples-README (#238) --- packages/google-cloud-iot/.jsdoc.js | 29 ++++++++++----------- packages/google-cloud-iot/samples/README.md | 10 +++++-- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/packages/google-cloud-iot/.jsdoc.js b/packages/google-cloud-iot/.jsdoc.js index 5b86f31a3ad..a533053a3e8 100644 --- a/packages/google-cloud-iot/.jsdoc.js +++ b/packages/google-cloud-iot/.jsdoc.js @@ -1,18 +1,17 @@ -/*! - * Copyright 2018 Google LLC. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// 'use strict'; diff --git a/packages/google-cloud-iot/samples/README.md b/packages/google-cloud-iot/samples/README.md index 74fa8fb6929..30a621cb0a6 100644 --- a/packages/google-cloud-iot/samples/README.md +++ b/packages/google-cloud-iot/samples/README.md @@ -21,6 +21,12 @@ Before running the samples, make sure you've followed the steps outlined in [Using the client library](https://github.com/googleapis/nodejs-iot#using-the-client-library). +`cd samples` + +`npm install` + +`cd ..` + ## Samples @@ -34,7 +40,7 @@ View the [source code](https://github.com/googleapis/nodejs-iot/blob/master/samp __Usage:__ -`node quickstart.js` +`node samples/quickstart.js` @@ -43,4 +49,4 @@ __Usage:__ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-iot&page=editor&open_in_editor=samples/README.md -[product-docs]: https://cloud.google.com/iot \ No newline at end of file +[product-docs]: https://cloud.google.com/iot