Skip to content

Commit 683546d

Browse files
Merge pull request #303 from codesandbox/fix/correct-typos-in-sdk-docs
fix: correct typos
2 parents 741b98f + 91f650d commit 683546d

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

packages/projects-docs/pages/sdk/bootups.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if (client.bootupType === 'CLEAN') {
4848

4949
## Agent updates
5050

51-
Every Sandbox has an agent running on it. This agent is the what allows you to interact with the Sandbox environment.
51+
Every Sandbox has an agent running on it. This agent is what allows you to interact with the Sandbox environment.
5252

5353
When a new version of the agent is published, existing sandboxes will need to restart before they get new version.
5454

packages/projects-docs/pages/sdk/clients.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Clients
3-
description: Learn how to connect to a sandboxwith the CodeSandbox SDK.
3+
description: Learn how to connect to a sandbox with the CodeSandbox SDK.
44
---
55

66
import { Callout } from 'nextra-theme-docs'

packages/projects-docs/pages/sdk/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Currently, we only allow changing the default specs for all VMs created with the
2929

3030
## Are VMs created by the SDK covered by any cybersecurity certifications?
3131

32-
CodeSandbox and it's infrastructure, including VMs are SOC 2 Type II compliant. You can read our SOC 2 announcement on our [blog](https://codesandbox.io/blog/codesandbox-is-now-soc-2-compliant)
32+
CodeSandbox and its infrastructure, including VMs are SOC 2 Type II compliant. You can read our SOC 2 announcement on our [blog](https://codesandbox.io/blog/codesandbox-is-now-soc-2-compliant)
3333

3434
## Is it possible to self-host CodeSandbox SDK?
3535

packages/projects-docs/pages/sdk/filesystem.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ operations are relative to the workspace directory of the sandbox (which is `/pr
1616

1717
### Writing & Reading Files
1818

19-
You can read & write files using an api that's similer to the Node.js fs module:
19+
You can read & write files using an api that's similar to the Node.js fs module:
2020

2121
```ts
2222
// Writing text files

packages/projects-docs/pages/sdk/hosts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Callout } from 'nextra-theme-docs'
77

88
# Hosts
99

10-
Hosts are the services exposed by your Sandbox. They all have their own hostname which includes the port. The `client.hosts` API will allow you to access these your Sandbox hosts securily using signed urls, headers or cookies.
10+
Hosts are the services exposed by your Sandbox. They all have their own hostname which includes the port. The `client.hosts` API will allow you to access your Sandbox hosts securely using signed urls, headers or cookies.
1111

1212
The `hostToken` is embedded in your session.
1313

packages/projects-docs/pages/sdk/interpreters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ const pythonResult = await client.interpreters.python("'Hello from Python!'");
2828
These interpreters will automatically return the last expression as output, but you can print values to the console at any point for multiple outputs.
2929

3030
<Callout>
31-
Note that the interpreters will not resolve until the interpretation resolves. We are open to changing this behavior if you have any feedback or suggestions! Or you can always wield your own by using commands.
31+
Note that the interpreters will not resolve until the interpretation resolves. We are open to changing this behavior if you have any feedback or suggestions! Or you can always implement your own by using commands.
3232
</Callout>

packages/projects-docs/pages/sdk/pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To pick the most suitable plan for your use case, consider how many concurrent V
3737
- Scale plan: 250 concurrent VMs
3838
- Enterprise plan: custom concurrent VMs
3939

40-
In case you expect a a high volume of VM runtime, our Enterprise plan also provides special discounts on VM credits.
40+
In case you expect a high volume of VM runtime, our Enterprise plan also provides special discounts on VM credits.
4141

4242
<Callout> If you're interested in an Enterprise plan please contact the [Together.ai Sales Team](https://www.together.ai/contact-sales)</Callout>
4343

packages/projects-docs/pages/sdk/repositories.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Callout } from 'nextra-theme-docs'
99

1010
By default a Sandbox works like a repository. It has a `.git` folder and it pushes to a remote file system when the Sandbox hibernates.
1111

12-
If you rather want to use an existing remote repository, you can do so by simpy cloning a repository to the sandbox.
12+
If you rather want to use an existing remote repository, you can do so by simply cloning a repository to the sandbox.
1313

1414
```ts
1515
const sandbox = await sdk.sandboxes.create()
@@ -23,7 +23,7 @@ const client = await sandbox.connect({
2323
// Optionally set credentials
2424
accessToken: '...',
2525
provider: 'github.com',
26-
username: "foo" // Optional, default tos x-access-token
26+
username: "foo" // Optional, defaults to x-access-token
2727
}
2828
})
2929

packages/projects-docs/pages/sdk/sessions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Passing git details allows the user to use git commands inside the sandbox.
4848
```ts
4949
const sandbox = await sdk.sandboxes.create()
5050
const session = await sandbox.createSession({
51-
id: 'some-user-reference,
51+
id: 'some-user-reference',
5252
git: {
5353
email: 'foo@bar.com', // Required
5454
name: 'Foo Bar', // Optional, defaults to session id

packages/projects-docs/pages/sdk/templates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Now we need to configure the template with tasks so that it will install depende
4848
The `setupTasks` will run after the Sandbox has started, before any other tasks.
4949

5050
<Callout>
51-
Do **NOT** start dev servers or other long running porcesses in the `setupTasks`. This will block the setup process and prevent the Sandbox from starting properly.
51+
Do **NOT** start dev servers or other long running processes in the `setupTasks`. This will block the setup process and prevent the Sandbox from starting properly.
5252
</Callout>
5353

5454
Now we are ready to deploy the template to our clusters, run:

0 commit comments

Comments
 (0)