mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
docs(playground): use CodeSandbox cloud sandboxes (#8576)
This commit is contained in:
parent
a0058f9c5a
commit
58f0327de5
3 changed files with 4 additions and 6 deletions
|
@ -10,11 +10,8 @@ import type {HandlerEvent, HandlerResponse} from '@netlify/functions';
|
||||||
const CookieName = 'DocusaurusPlaygroundName';
|
const CookieName = 'DocusaurusPlaygroundName';
|
||||||
|
|
||||||
const PlaygroundConfigs = {
|
const PlaygroundConfigs = {
|
||||||
// Do not use this one, see
|
|
||||||
// https://github.com/codesandbox/codesandbox-client/issues/5683#issuecomment-1023252459
|
|
||||||
// codesandbox: 'https://codesandbox.io/s/docusaurus',
|
|
||||||
codesandbox:
|
codesandbox:
|
||||||
'https://codesandbox.io/s/github/facebook/docusaurus/tree/main/examples/classic',
|
'https://codesandbox.io/p/sandbox/github/facebook/docusaurus/tree/main/examples/classic?file=%2FREADME.md',
|
||||||
|
|
||||||
// Not updated
|
// Not updated
|
||||||
// stackblitz: 'https://stackblitz.com/fork/docusaurus',
|
// stackblitz: 'https://stackblitz.com/fork/docusaurus',
|
||||||
|
|
|
@ -21,8 +21,9 @@ const Playgrounds = [
|
||||||
url: 'https://docusaurus.new/codesandbox',
|
url: 'https://docusaurus.new/codesandbox',
|
||||||
description: (
|
description: (
|
||||||
<Translate id="playground.codesandbox.description">
|
<Translate id="playground.codesandbox.description">
|
||||||
CodeSandbox is a popular playground solution. Runs Docusaurus in a
|
CodeSandbox is an online code editor and development environment that
|
||||||
remote Docker container.
|
allows developers to create, share and collaborate on web development
|
||||||
|
projects in a browser-based environment
|
||||||
</Translate>
|
</Translate>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 373 KiB After Width: | Height: | Size: 367 KiB |
Loading…
Add table
Add a link
Reference in a new issue