Skip to content

Commit 63b29f2

Browse files
authored
Adjust the key link format for modular readme (#2885)
* remove additional '|' * update * fix format
1 parent 3d019a6 commit 63b29f2

17 files changed

Lines changed: 60 additions & 26 deletions

File tree

  • packages
    • rlc-common/src/metadata
    • typespec-test/test
      • NetworkAnalytics.Management/generated/typespec-ts
      • anomalyDetector/generated/typespec-ts
      • batch_modular/generated/typespec-ts
      • chatApi_modular/generated/typespec-ts
      • contentsafety_modular/generated/typespec-ts
      • eventgrid_modular/generated/typespec-ts
      • healthInsights_radiologyinsights/generated/typespec-ts
      • hierarchy_generic/generated/typespec-ts
      • loadtesting_modular/generated/typespec-ts
      • openai_generic/generated/typespec-ts
      • openai_modular/generated/typespec-ts
      • overloads_modular/generated/typespec-ts
      • parametrizedHost/generated/typespec-ts
      • schemaRegistry/generated/typespec-ts
      • spread/generated/typespec-ts
      • widget_dpg/generated/typespec-ts

packages/rlc-common/src/metadata/buildReadmeFile.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,19 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
9292
9393
{{ description }}
9494
95+
Key links:
96+
9597
{{#if packageSourceURL}}
96-
[Source code]({{ packageSourceURL }}) |
98+
- [Source code]({{ packageSourceURL }})
9799
{{/if}}
98100
{{#if packageNPMURL}}
99-
[Package (NPM)]({{ packageNPMURL }}) |
101+
- [Package (NPM)]({{ packageNPMURL }})
100102
{{/if}}
101103
{{#if apiRefURL}}
102-
[API reference documentation]({{ apiRefURL }}) |
104+
- [API reference documentation]({{ apiRefURL }})
103105
{{/if}}
104106
{{#if samplesURL}}
105-
[Samples]({{samplesURL}})
107+
- [Samples]({{samplesURL}})
106108
{{/if}}
107109
108110
## Getting started

packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55

66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-networkanalytics) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-networkanalytics?view=azure-node-preview) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-networkanalytics)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-networkanalytics?view=azure-node-preview)
911

1012
## Getting started
1113

packages/typespec-test/test/anomalyDetector/generated/typespec-ts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ a kind of group based detection, this detection will find inconsistency ones in
1919
a set of time series. By using anomaly detector service, business customers can
2020
discover incidents and establish a logic flow for root cause analysis.
2121

22-
[Package (NPM)](https://www.npmjs.com/package/@msinternal/ai-anomaly-detector) |
22+
Key links:
23+
24+
- [Package (NPM)](https://www.npmjs.com/package/@msinternal/ai-anomaly-detector)
2325

2426
## Getting started
2527

packages/typespec-test/test/batch_modular/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Azure Batch provides Cloud-scale job scheduling and compute management.
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure-rest/batch) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/batch?view=azure-node-preview) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/batch)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/batch?view=azure-node-preview)
911

1012
## Getting started
1113

packages/typespec-test/test/chatApi_modular/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Azure APIs for the Azure Chat protocol.
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure/ai-chat-protocol) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-chat-protocol?view=azure-node-preview) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure/ai-chat-protocol)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-chat-protocol?view=azure-node-preview)
911

1012
## Getting started
1113

packages/typespec-test/test/contentsafety_modular/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Analyze harmful content
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-content-safety) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/ai-content-safety) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-content-safety)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/ai-content-safety)
911

1012
## Getting started
1113

packages/typespec-test/test/eventgrid_modular/generated/typespec-ts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Azure Messaging EventGrid Client
66

7-
[Package (NPM)](https://www.npmjs.com/package/@msinternal/eventgrid) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@msinternal/eventgrid)
810

911
## Getting started
1012

packages/typespec-test/test/healthInsights_radiologyinsights/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Azure AI Health Insights provides an API that serves insight models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human.
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure-rest/health-insights-radiologyinsights) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/health-insights-radiologyinsights?view=azure-node-preview) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/health-insights-radiologyinsights)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/health-insights-radiologyinsights?view=azure-node-preview)
911

1012
## Getting started
1113

packages/typespec-test/test/hierarchy_generic/generated/typespec-ts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
OpenAI
66

7-
[Package (NPM)](https://www.npmjs.com/package/@msinternal/hierarchy-generic) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@msinternal/hierarchy-generic)
810

911
## Getting started
1012

packages/typespec-test/test/loadtesting_modular/generated/typespec-ts/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
These APIs allow end users to create, view and run load tests using Azure Load Test Service.
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure/load-testing) |
8-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/load-testing) |
7+
Key links:
8+
9+
- [Package (NPM)](https://www.npmjs.com/package/@azure/load-testing)
10+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/load-testing)
911

1012
## Getting started
1113

0 commit comments

Comments
 (0)