Skip to content

Commit f4ba09f

Browse files
authored
Upgrade markdown files in daprdocs for Hugo upgrade (#741)
Signed-off-by: Marc Duiker <[email protected]>
1 parent 0c36331 commit f4ba09f

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

daprdocs/content/en/go-sdk-contributing/go-contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ When contributing to the [Go SDK](https://github.com/dapr/go-sdk) the following
1212

1313
The `examples` directory contains code samples for users to run to try out specific functionality of the various Go SDK packages and extensions. When writing new and updated samples keep in mind:
1414

15-
- All examples should be runnable on Windows, Linux, and MacOS. While Go code is consistent among operating systems, any pre/post example commands should provide options through [codetabs]({{< ref "contributing-docs.md#tabbed-content" >}})
15+
- All examples should be runnable on Windows, Linux, and MacOS. While Go code is consistent among operating systems, any pre/post example commands should provide options through [tabpane]({{% ref "contributing-docs.md#tabbed-content" %}})
1616
- 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.
1717

1818
## Docs
1919

2020
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:
2121

22-
- All rules in the [docs guide]({{< ref contributing-docs.md >}}) should be followed in addition to these.
22+
- All rules in the [docs guide]({{% ref contributing-docs.md %}}) should be followed in addition to these.
2323
- All files and directories should be prefixed with `go-` to ensure all file/directory names are globally unique across all Dapr documentation.

daprdocs/content/en/go-sdk-docs/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ A client library to help build Dapr applications in Go. This client supports all
1818
{{< card title="**Client**">}}
1919
Use the Go Client SDK for invoking public Dapr APIs
2020

21-
[**Learn more about the Go Client SDK**]({{< ref go-client >}})
21+
[**Learn more about the Go Client SDK**]({{% ref go-client %}})
2222
{{< /card >}}
2323
{{< card title="**Service**">}}
2424
Use the Dapr Service (Callback) SDK for Go to create services that will be invoked by Dapr.
2525

26-
[**Learn more about the Go Service (Callback) SDK**]({{< ref go-service >}})
26+
[**Learn more about the Go Service (Callback) SDK**]({{% ref go-service %}})
2727
{{< /card >}}
2828
{{< /cardpane >}}

daprdocs/content/en/go-sdk-docs/go-client/_index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The Dapr client package allows you to interact with other Dapr applications from
1111

1212
## Prerequisites
1313

14-
- [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed
15-
- Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}})
14+
- [Dapr CLI]({{% ref install-dapr-cli.md %}}) installed
15+
- Initialized [Dapr environment]({{% ref install-dapr-selfhost.md %}})
1616
- [Go installed](https://golang.org/doc/install)
1717

1818

@@ -65,7 +65,7 @@ if err != nil {
6565

6666
## Building blocks
6767

68-
The Go SDK allows you to interface with all of the [Dapr building blocks]({{< ref building-blocks >}}).
68+
The Go SDK allows you to interface with all of the [Dapr building blocks]({{% ref building-blocks %}}).
6969

7070
### Service Invocation
7171

@@ -86,7 +86,7 @@ content := &dapr.DataContent{
8686
resp, err = client.InvokeMethodWithContent(ctx, "app-id", "method-name", "post", content)
8787
```
8888

89-
For a full guide on service invocation, visit [How-To: Invoke a service]({{< ref howto-invoke-discover-services.md >}}).
89+
For a full guide on service invocation, visit [How-To: Invoke a service]({{% ref howto-invoke-discover-services.md %}}).
9090

9191
### Workflows
9292

@@ -167,8 +167,8 @@ func main() {
167167
```
168168

169169
- For a more comprehensive guide on workflows visit these How-To guides:
170-
- [How-To: Author a workflow]({{< ref howto-author-workflow.md >}}).
171-
- [How-To: Manage a workflow]({{< ref howto-manage-workflow.md >}}).
170+
- [How-To: Author a workflow]({{% ref howto-author-workflow.md %}}).
171+
- [How-To: Manage a workflow]({{% ref howto-manage-workflow.md %}}).
172172
- Visit the Go SDK Examples to jump into complete examples:
173173
- [Workflow Example](https://github.com/dapr/go-sdk/tree/main/examples/workflow)
174174
- [Workflow - Parallelised](https://github.com/dapr/go-sdk/tree/main/examples/workflow-parallel)
@@ -306,7 +306,7 @@ for _, account := range queryResponse {
306306

307307
> **Note:** Query state API is currently in alpha
308308
309-
For a full guide on state management, visit [How-To: Save & get state]({{< ref howto-get-save-state.md >}}).
309+
For a full guide on state management, visit [How-To: Save & get state]({{% ref howto-get-save-state.md %}}).
310310

311311
### Publish Messages
312312
To publish data onto a topic, the Dapr Go client provides a simple method:
@@ -328,11 +328,11 @@ if res.Error != nil {
328328
}
329329
```
330330

331-
For a full guide on pub/sub, visit [How-To: Publish & subscribe]({{< ref howto-publish-subscribe.md >}}).
331+
For a full guide on pub/sub, visit [How-To: Publish & subscribe]({{% ref howto-publish-subscribe.md %}}).
332332

333333
### Workflow
334334

335-
You can create [workflows]({{< ref workflow-overview.md >}}) using the Go SDK. For example, start with a simple workflow activity:
335+
You can create [workflows]({{% ref workflow-overview.md %}}) using the Go SDK. For example, start with a simple workflow activity:
336336

337337
```go
338338
func TestActivity(ctx workflow.ActivityContext) (any, error) {
@@ -369,7 +369,7 @@ func TestWorkflow(ctx *workflow.WorkflowContext) (any, error) {
369369
}
370370
```
371371

372-
Then compose your application that will use the workflow you've created. [Refer to the How-To: Author workflows guide]({{< ref howto-author-workflow.md >}}) for a full walk-through.
372+
Then compose your application that will use the workflow you've created. [Refer to the How-To: Author workflows guide]({{% ref howto-author-workflow.md %}}) for a full walk-through.
373373

374374
Try out the [Go SDK workflow example.](https://github.com/dapr/go-sdk/blob/main/examples/workflow)
375375

@@ -501,7 +501,7 @@ in := &dapr.InvokeBindingRequest{
501501
out, err := client.InvokeBinding(ctx, in)
502502
```
503503

504-
For a full guide on output bindings, visit [How-To: Use bindings]({{< ref howto-bindings.md >}}).
504+
For a full guide on output bindings, visit [How-To: Use bindings]({{% ref howto-bindings.md %}}).
505505

506506
### Actors
507507

@@ -563,7 +563,7 @@ func main() {
563563
}
564564
```
565565

566-
For a full guide on actors, visit [the Actors building block documentation]({{< ref actors >}}).
566+
For a full guide on actors, visit [the Actors building block documentation]({{% ref actors %}}).
567567

568568
### Secret Management
569569

@@ -601,7 +601,7 @@ func main() {
601601
```
602602

603603

604-
For a full guide on secrets, visit [How-To: Retrieve secrets]({{< ref howto-secrets.md >}}).
604+
For a full guide on secrets, visit [How-To: Retrieve secrets]({{% ref howto-secrets.md %}}).
605605

606606
### Distributed Lock
607607

@@ -636,7 +636,7 @@ func main() {
636636
}
637637
```
638638

639-
For a full guide on distributed lock, visit [How-To: Use a lock]({{< ref howto-use-distributed-lock.md >}}).
639+
For a full guide on distributed lock, visit [How-To: Use a lock]({{% ref howto-use-distributed-lock.md %}}).
640640

641641
### Configuration
642642

@@ -667,7 +667,7 @@ go func() {
667667
}()
668668
```
669669

670-
For a full guide on configuration, visit [How-To: Manage configuration from a store]({{< ref howto-manage-configuration.md >}}).
670+
For a full guide on configuration, visit [How-To: Manage configuration from a store]({{% ref howto-manage-configuration.md %}}).
671671

672672
### Cryptography
673673

@@ -698,7 +698,7 @@ out, err := client.Decrypt(context.Background(), rf, dapr.EncryptOptions{
698698
})
699699
```
700700

701-
For a full guide on cryptography, visit [How-To: Use the cryptography APIs]({{< ref howto-cryptography.md >}}).
701+
For a full guide on cryptography, visit [How-To: Use the cryptography APIs]({{% ref howto-cryptography.md %}}).
702702

703703
## Related links
704704
[Go SDK Examples](https://github.com/dapr/go-sdk/tree/main/examples)

daprdocs/content/en/go-sdk-docs/go-service/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ description: How to get up and running with the Dapr Service (Callback) SDK for
77
no_list: true
88
---
99
In addition to this Dapr API client, Dapr Go SDK also provides service package to bootstrap your Dapr callback services. These services can be developed in either gRPC or HTTP:
10-
- [HTTP Service]({{< ref http-service.md >}})
11-
- [gRPC Service]({{< ref grpc-service.md >}})
10+
- [HTTP Service]({{% ref http-service.md %}})
11+
- [gRPC Service]({{% ref grpc-service.md %}})

0 commit comments

Comments
 (0)