From f4e67921d7bbb8f6e69c3cbd824c15c410d5cb50 Mon Sep 17 00:00:00 2001 From: Yoseph Maguire Date: Fri, 14 May 2021 14:46:23 -0700 Subject: [PATCH] update readmes --- sdk/iot/modelsrepository/README.md | 42 ++----------------- .../samples/typescript/README.md | 4 +- 2 files changed, 5 insertions(+), 41 deletions(-) diff --git a/sdk/iot/modelsrepository/README.md b/sdk/iot/modelsrepository/README.md index 77951365c8be..ac631186e567 100644 --- a/sdk/iot/modelsrepository/README.md +++ b/sdk/iot/modelsrepository/README.md @@ -1,6 +1,6 @@ # Azure IoT Models Repository client library for JavaScript -This package contains an isomorphic Client Library for Azure IoT Models Repository in Javascript. Use the Azure IoT Models Repository library for Javascript to pull DTDL files from remote endpoints. +This package contains an isomorphic Client Library for Azure IoT Models Repository in JavaScript. Use the Azure IoT Models Repository library for JavaScript to pull DTDL files from remote endpoints. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/modelsrepository) | [Package (npm)](https://www.npmjs.com/package/@azure/iot-modelsrepository/) | @@ -12,7 +12,7 @@ This package contains an isomorphic Client Library for Azure IoT Models Reposito ## Key concepts -The Azure IoT Models Repository library for Javascript is written to interact with the Azure IoT PlugAndPlay Models Repository, for those developers who wish to write applications in Javascript to do so. +The Azure IoT Models Repository library for JavaScript is written to interact with the Azure IoT PlugAndPlay Models Repository, for those developers who wish to write applications in JavaScript to do so. ### Currently supported environments @@ -41,37 +41,6 @@ const result = await client.getModels("dtmi:azure:DeviceManagement:DeviceInforma console.log(result); ``` -## browser - Authentication, client creation and get ioTSpaces as an example written in JavaScript. - -### Sample code - -- index.html - -```html - - - - @azure/iot-modelsrepository sample - - - - - -``` - ----------------------------------------- # Troubleshooting @@ -86,7 +55,7 @@ console.log(result); # Related projects -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) # Contributing @@ -102,8 +71,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. - - -[azure_portal]: https://portal.azure.com -[npm]: https://www.npmjs.com/ -[iot_pnp_docs]: https://docs.microsoft.com/en-us/azure/iot-pnp/ diff --git a/sdk/iot/modelsrepository/samples/typescript/README.md b/sdk/iot/modelsrepository/samples/typescript/README.md index af5b8b8da0b0..64b0dc9506e3 100644 --- a/sdk/iot/modelsrepository/samples/typescript/README.md +++ b/sdk/iot/modelsrepository/samples/typescript/README.md @@ -14,7 +14,7 @@ urlFragment: template-typescript The Azure IoT Models Repository enables builders to manage and share digital twin models for global consumption. The models are [JSON-LD](https://json-ld.org/) documents defined using the Digital Twins Definition Language [(DTDL)](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md). -For more info about the Azure IoT Models Repository checkout the [docs](https://docs.microsoft.com/en-us/azure/iot-pnp/concepts-model-repository). +For more info about the Azure IoT Models Repository checkout the [docs](https://docs.microsoft.com/azure/iot-pnp/concepts-model-repository). | **File Name** | **Description** | @@ -63,7 +63,7 @@ If you need to override pipeline behavior, such as provide your own HttpClient i ## Publish Models -Publishing models to the models repository requires [exercising](https://docs.microsoft.com/en-us/azure/iot-pnp/concepts-model-repository#publish-a-model) common GitHub workflows. +Publishing models to the models repository requires [exercising](https://docs.microsoft.com/azure/iot-pnp/concepts-model-repository#publish-a-model) common GitHub workflows. ## Get Models