You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: daprdocs/content/en/js-sdk-contributing/js-contributing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,12 +119,12 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
119
119
120
120
The `examples` directory contains code samples for users to run to try out specific functionality of the various JavaScript SDK packages and extensions. When writing new and updated samples keep in mind:
121
121
122
-
- All examples should be runnable on Windows, Linux, and MacOS. While JavaScript code is consistent among operating systems, any pre/post example commands should provide options through [codetabs]({{< ref "contributing-docs.md#tabbed-content" >}}).
122
+
- All examples should be runnable on Windows, Linux, and MacOS. While JavaScript code is consistent among operating systems, any pre/post example commands should provide options through [tabpane]({{% ref "contributing-docs.md#tabbed-content" %}}).
123
123
- Contain steps to download/install any required pre-requisites. Someone coming in with a fresh OS install should be able to start on the example and complete it without an error. Links to external download pages are fine.
124
124
125
125
## Docs
126
126
127
127
The `daprdocs` directory contains the markdown files that are rendered into the [Dapr Docs](https://docs.dapr.io) website. When the documentation website is built, this repo is cloned and configured so that its contents are rendered with the docs content. When writing docs, keep in mind:
128
128
129
-
- All rules in the [docs guide]({{< ref contributing-docs.md >}}) should be followed in addition to these.
129
+
- All rules in the [docs guide]({{% ref contributing-docs.md %}}) should be followed in addition to these.
130
130
- All files and directories should be prefixed with `js-` to ensure all file/directory names are globally unique across all Dapr documentation.
Copy file name to clipboardExpand all lines: daprdocs/content/en/js-sdk-docs/_index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,21 +47,21 @@ To help you get started, check out the resources below:
47
47
<div class="card-body">
48
48
<h5 class="card-title"><b>Client</b></h5>
49
49
<p class="card-text">Create a JavaScript client and interact with the Dapr sidecar and other Dapr applications (e.g., publishing events, output binding support, etc.). </p>
<p class="card-text">Create a JavaScript server and let the Dapr sidecar interact with your application (e.g., subscribing to events, input binding support, etc.). </p>
Copy file name to clipboardExpand all lines: daprdocs/content/en/js-sdk-docs/js-actors/_index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ description: How to get up and running with Actors using the Dapr JavaScript SDK
8
8
9
9
The Dapr actors package allows you to interact with Dapr virtual actors from a JavaScript application. The examples below demonstrate how to use the JavaScript SDK for interacting with virtual actors.
10
10
11
-
For a more in-depth overview of Dapr actors, visit the [actors overview page]({{< ref actors-overview >}}).
11
+
For a more in-depth overview of Dapr actors, visit the [actors overview page]({{% ref actors-overview %}}).
@@ -195,7 +195,7 @@ The JS SDK supports actors that can schedule periodic work on themselves by regi
195
195
196
196
This distinction allows users to trade off between light-weight but stateless timers versus more resource-demanding but stateful reminders.
197
197
198
-
The scheduling interface of timers and reminders is identical. For an more in-depth look at the scheduling configurations see the [actors timers and reminders docs]({{< ref "howto-actors.md#actor-timers-and-reminders" >}}).
198
+
The scheduling interface of timers and reminders is identical. For an more in-depth look at the scheduling configurations see the [actors timers and reminders docs]({{% ref "howto-actors.md#actor-timers-and-reminders" %}}).
-[Latest LTS version of Node.js or greater](https://nodejs.org/en/)
18
18
19
19
## Installing and importing Dapr's JS SDK
@@ -154,7 +154,7 @@ We can now call the methods as defined in our `GreeterClient` interface (which i
154
154
155
155
## Building blocks
156
156
157
-
The JavaScript Client SDK allows you to interface with all of the [Dapr building blocks]({{< ref building-blocks >}}) focusing on Client to Sidecar features.
157
+
The JavaScript Client SDK allows you to interface with all of the [Dapr building blocks]({{% ref building-blocks %}}) focusing on Client to Sidecar features.
158
158
159
159
### Invocation API
160
160
@@ -194,7 +194,7 @@ start().catch((e) => {
194
194
});
195
195
```
196
196
197
-
> For a full guide on service invocation visit [How-To: Invoke a service]({{< ref howto-invoke-discover-services.md >}}).
197
+
> For a full guide on service invocation visit [How-To: Invoke a service]({{% ref howto-invoke-discover-services.md %}}).
198
198
199
199
### State Management API
200
200
@@ -267,7 +267,7 @@ start().catch((e) => {
267
267
});
268
268
```
269
269
270
-
> For a full list of state operations visit [How-To: Get & save state]({{< ref howto-get-save-state.md >}}).
270
+
> For a full list of state operations visit [How-To: Get & save state]({{% ref howto-get-save-state.md %}}).
271
271
272
272
#### Query State API
273
273
@@ -423,7 +423,7 @@ start().catch((e) => {
423
423
});
424
424
```
425
425
426
-
> For a full guide on output bindings visit [How-To: Use bindings]({{< ref howto-bindings.md >}}).
426
+
> For a full guide on output bindings visit [How-To: Use bindings]({{% ref howto-bindings.md %}}).
427
427
428
428
### Secret API
429
429
@@ -454,7 +454,7 @@ start().catch((e) => {
454
454
});
455
455
```
456
456
457
-
> For a full guide on secrets visit [How-To: Retrieve secrets]({{< ref howto-secrets.md >}}).
457
+
> For a full guide on secrets visit [How-To: Retrieve secrets]({{% ref howto-secrets.md %}}).
458
458
459
459
### Configuration API
460
460
@@ -622,7 +622,7 @@ start().catch((e) => {
622
622
});
623
623
```
624
624
625
-
> For a full guide on cryptography visit [How-To: Cryptography]({{< ref howto-cryptography.md >}}).
625
+
> For a full guide on cryptography visit [How-To: Cryptography]({{% ref howto-cryptography.md %}}).
626
626
627
627
### Distributed Lock API
628
628
@@ -671,7 +671,7 @@ start().catch((e) => {
671
671
});
672
672
```
673
673
674
-
> For a full guide on distributed locks visit [How-To: Use Distributed Locks]({{< ref howto-use-distributed-lock.md >}}).
674
+
> For a full guide on distributed locks visit [How-To: Use Distributed Locks]({{% ref howto-use-distributed-lock.md %}}).
-[Latest LTS version of Node or greater](https://nodejs.org/en/)
18
18
19
19
## Installing and importing Dapr's JS SDK
@@ -162,7 +162,7 @@ npm run start:dapr-grpc
162
162
163
163
## Building blocks
164
164
165
-
The JavaScript Server SDK allows you to interface with all of the [Dapr building blocks]({{< ref building-blocks >}}) focusing on Sidecar to App features.
165
+
The JavaScript Server SDK allows you to interface with all of the [Dapr building blocks]({{% ref building-blocks %}}) focusing on Sidecar to App features.
166
166
167
167
### Invocation API
168
168
@@ -206,7 +206,7 @@ start().catch((e) => {
206
206
});
207
207
```
208
208
209
-
> For a full guide on service invocation visit [How-To: Invoke a service]({{< ref howto-invoke-discover-services.md >}}).
209
+
> For a full guide on service invocation visit [How-To: Invoke a service]({{% ref howto-invoke-discover-services.md %}}).
210
210
211
211
### PubSub API
212
212
@@ -269,7 +269,7 @@ async function start() {
269
269
}
270
270
```
271
271
272
-
> For a full list of state operations visit [How-To: Publish & subscribe]({{< ref howto-publish-subscribe.md >}}).
272
+
> For a full list of state operations visit [How-To: Publish & subscribe]({{% ref howto-publish-subscribe.md %}}).
273
273
274
274
#### Subscribe with SUCCESS/RETRY/DROP status
275
275
@@ -599,7 +599,7 @@ start().catch((e) => {
599
599
});
600
600
```
601
601
602
-
> For a full guide on output bindings visit [How-To: Use bindings]({{< ref howto-bindings.md >}}).
602
+
> For a full guide on output bindings visit [How-To: Use bindings]({{% ref howto-bindings.md %}}).
0 commit comments