Skip to content

Commit f851fb2

Browse files
Doc fixes
1 parent 25f3589 commit f851fb2

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

docs/guides/setup/backend-services.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ response = await session.send_and_wait({"prompt": message})
131131
<details>
132132
<summary><strong>Go</strong></summary>
133133

134+
<!-- docs-validate: skip -->
134135
```go
135136
client := copilot.NewClient(&copilot.ClientOptions{
136-
CLIUrl: "localhost:4321",
137+
CLIUrl:"localhost:4321",
137138
})
138139
client.Start(ctx)
139140
defer client.Stop()
@@ -151,6 +152,7 @@ response, _ := session.SendAndWait(ctx, copilot.MessageOptions{Prompt: message})
151152
<details>
152153
<summary><strong>.NET</strong></summary>
153154

155+
<!-- docs-validate: skip -->
154156
```csharp
155157
var client = new CopilotClient(new CopilotClientOptions
156158
{

docs/guides/setup/bundled-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ await client.stop()
105105
<details>
106106
<summary><strong>Go</strong></summary>
107107

108+
<!-- docs-validate: skip -->
108109
```go
109110
client := copilot.NewClient(&copilot.ClientOptions{
110-
CLIPath: "./vendor/copilot",
111+
CLIPath:"./vendor/copilot",
111112
})
112113
if err := client.Start(ctx); err != nil {
113114
log.Fatal(err)

docs/guides/setup/byok.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ await client.stop()
118118
<details>
119119
<summary><strong>Go</strong></summary>
120120

121+
<!-- docs-validate: skip -->
121122
```go
122123
client := copilot.NewClient(nil)
123124
client.Start(ctx)

docs/guides/setup/github-oauth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ response = await session.send_and_wait({"prompt": "Hello!"})
170170
<details>
171171
<summary><strong>Go</strong></summary>
172172

173+
<!-- docs-validate: skip -->
173174
```go
174175
func createClientForUser(userToken string) *copilot.Client {
175176
return copilot.NewClient(&copilot.ClientOptions{
@@ -195,6 +196,7 @@ response, _ := session.SendAndWait(ctx, copilot.MessageOptions{Prompt: "Hello!"}
195196
<details>
196197
<summary><strong>.NET</strong></summary>
197198

199+
<!-- docs-validate: skip -->
198200
```csharp
199201
CopilotClient CreateClientForUser(string userToken) =>
200202
new CopilotClient(new CopilotClientOptions

docs/guides/setup/local-cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ await client.stop()
6868
<details>
6969
<summary><strong>Go</strong></summary>
7070

71+
<!-- docs-validate: skip -->
7172
```go
7273
client := copilot.NewClient(nil)
7374
if err := client.Start(ctx); err != nil {

0 commit comments

Comments
 (0)