Skip to content

Commit

Permalink
feat: update /s links in the docs to the new routes (#238)
Browse files Browse the repository at this point in the history
* feat: update /s links in the docs to the new routes

* fix: Remove /r link
  • Loading branch information
filipelima18 authored Feb 20, 2024
1 parent 6998494 commit f974a1c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/projects-docs/pages/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Callout } from 'nextra-theme-docs'

[Sandboxes](/learn/sandboxes/editor-features) are more limited. They support JavaScript/TypeScript projects, as well as Node.js.

[Create a Sandbox or Devbox from a template](https://codesandbox.io/s/), or read more
[Create a Sandbox or Devbox from a template](https://codesandbox.io/new/), or read more
about the
[difference between Sandboxes and Devboxes](/learn/devboxes/overview#difference-between-devboxes--sandboxes).

Expand Down Expand Up @@ -130,7 +130,7 @@ repo for large binary files and remove them.

Yes, you can use any database that has a Docker image available with a Devbox. Some popular databases with Docker images include MySQL, PostgreSQL, MongoDB, and Redis.

{/* For ready-to-use examples, check our [Devbox templates](https://codesandbox.io/s/) modal. */}
{/* For ready-to-use examples, check our [Devbox templates](https://codesandbox.io/d/) modal. */}

### Do I need to install Docker on my local machine to use it in CodeSandbox?

Expand Down
2 changes: 1 addition & 1 deletion packages/projects-docs/pages/learn/ai/codeium.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Codeium is an incredible AI-powered developer toolkit. Their code completion too

## Getting started

Codeium code completion is now available for free to every CodeSandbox user on [Devboxes](https://codesandbox.io/dashboard/recent?create_devbox=true), [Sandboxes](https://codesandbox.io/s/) and repositories
Codeium code completion is now available for free to every CodeSandbox user on [Devboxes](https://codesandbox.io/d/), [Sandboxes](https://codesandbox.io/s/) and [repositories](https://codesandbox.io/dashboard/recent?import_repo=true)

If you have your AI settings enabled, you will get AI autocomplete working in your code immediately.
Note that we enable AI permission toggles by default on free workspaces. If you do not have have access to Codeium, visit the [workspace portal](/t/permissions) and enable the AI settings
Expand Down
2 changes: 1 addition & 1 deletion packages/projects-docs/pages/learn/devboxes/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Devboxes are built for scale. Our Free plan includes generous VM specs but you c
</Callout>

## Creating a Devbox
To create a new Devbox, you can clone a template from our ["Create Devbox"](https://codesandbox.io/s) modal. When clicking on a template, we create a fork (a copy) of the template and open the newly created sandbox in our web editor.
To create a new Devbox, you can clone a template from our ["Create Devbox"](https://codesandbox.io/d) modal. When clicking on a template, we create a fork (a copy) of the template and open the newly created sandbox in our web editor.

## Difference between Devboxes & Sandboxes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ An example `template.json` could look like this:

All fields are optional—we will infer the missing fields from the repository contents.

After you've created this file and opened the synced template at least once, you can find it in the [template search](https://codesandbox.io/s) by searching for the title or description.
After you've created this file and opened the synced template at least once, you can find it in the [template search](https://codesandbox.io/d) by searching for the title or description.

## VM behavior of synced templates

Expand Down
6 changes: 3 additions & 3 deletions packages/projects-docs/pages/learn/devboxes/templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import { Callout } from 'nextra-theme-docs'
Templates are starting points for development environments that you create through CodeSandbox. When you pick a template, you create a fork of the original project. Forked templates are already set up with the
configuration, file structure and installed dependencies. So you don't have to
spend time doing this each time you begin working on something new. They
are easily accessible from the ["Create" modal](https://codesandbox.io/s).
are easily accessible from the ["Create" modal](https://codesandbox.io/d).

From the modal, CodeSandbox offers several official templates for several different programming languages.

You can also create your own custom templates from your projects. So you can fully customize your development start points for your particular use case and preferences. Once a custom
template has been created, you can use it to start new projects through the ["Create" modal](https://codesandbox.io/s). Custom templates can also be added
template has been created, you can use it to start new projects through the ["Create" modal](https://codesandbox.io/d). Custom templates can also be added
to workspaces so workspace members can use them. Any custom templates you can access can be found in the [Templates folder](https://codesandbox.io/dashboard/templates) on the Dashboard or under 'Workspace Templates' within the modal.

## How to make a custom template
Expand Down Expand Up @@ -72,7 +72,7 @@ The 'Template Info' panel is in the same position as the 'Devbox Info' panel pri

There are a few ways in which you can "delete" a template. From the "Template
Info" panel inside the editor you can uncheck 'Template'. Doing this will convert the template back
to a regular Devbox and remove it from the ["Create" modal](https://codesandbox.io/s).
to a regular Devbox and remove it from the ["Create" modal](https://codesandbox.io/d).

You can then delete the Devbox from your dashboard as you would normally.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This guide specifically focuses on Devboxes.

One of the best things about our Devboxes is that there are dozens of official templates you can use to start coding.

To get started, [open the `Create` Modal](https://codesandbox.io/s/) and browse through our selection of Devbox Templates.
To get started, [open the `Create` Modal](https://codesandbox.io/d/) and browse through our selection of Devbox Templates.

![new modal](../images/dashboard-devbox-modal.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ However, Devboxes currently do not offer feature parity to Sandboxes. The follow

There are several ways to convert a Sandbox into a Devbox. The first is from the URL.

Usually, browser sandboxes start with `https://codesandbox.io/s/`. To convert into a devboxes, you can replace the prefix with `https://codesandbox.io/p/sandbox/`. This will automatically open up a Devbox.
Usually, Sandboxes start with `https://codesandbox.io/s/`. To convert into Devbox, you can replace the prefix with `https://codesandbox.io/p/sandbox/`. This will automatically open up a Devbox.

## Convert from the browser sandbox UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In this tutorial, we will showcase two different approaches you can use to get s

CodeSandbox provides a growing collection of PHP templates that may be useful depending on your use case.

In case you want a fresh, blank environment to start building a project from scratch, you can use our [PHP starter](https://codesandbox.io/p/sandbox/php-starter-ygkev0). Otherwise, you will find our existing PHP templates in the [template library](https://codesandbox.io/s/).
In case you want a fresh, blank environment to start building a project from scratch, you can use our [PHP starter](https://codesandbox.io/p/sandbox/php-starter-ygkev0). Otherwise, you will find our existing PHP templates in the [template library](https://codesandbox.io/d/).

After forking one of these templates, you can open a [terminal](/learn/repositories/terminal) (which you can find under DevTools, on the top right) to run `php` commands.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In this tutorial, we will showcase two different approaches you can use to get s

CodeSandbox provides a growing collection of Python templates that may be useful depending on your use case.

In case you want a fresh, blank environment to start building a project from scratch, you can use our [Python starter](https://codesandbox.io/p/sandbox/python-starter-in2qez). Otherwise, you will find our existing Python templates in the "Python" tab of the [template library](https://codesandbox.io/s/).
In case you want a fresh, blank environment to start building a project from scratch, you can use our [Python starter](https://codesandbox.io/p/sandbox/python-starter-in2qez). Otherwise, you will find our existing Python templates in the "Python" tab of the [template library](https://codesandbox.io/d/).

After forking one of these templates, you will probably want to open a [terminal](/learn/repositories/terminal) (which you can find under DevTools, on the top right) to run `python`commands.

Expand Down

0 comments on commit f974a1c

Please sign in to comment.