mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 15:17:23 +02:00
docs: add TypeScript playgrounds to docusaurus.new + Playground page (#8723)
This commit is contained in:
parent
e78a6a6610
commit
62aba771df
4 changed files with 41 additions and 4 deletions
|
@ -12,13 +12,15 @@ const CookieName = 'DocusaurusPlaygroundName';
|
|||
const PlaygroundConfigs = {
|
||||
codesandbox:
|
||||
'https://codesandbox.io/p/sandbox/github/facebook/docusaurus/tree/main/examples/classic?file=%2FREADME.md',
|
||||
'codesandbox-ts':
|
||||
'https://codesandbox.io/p/sandbox/github/facebook/docusaurus/tree/main/examples/classic-typescript?file=%2FREADME.md',
|
||||
|
||||
// Not updated
|
||||
// stackblitz: 'https://stackblitz.com/fork/docusaurus',
|
||||
// Slow to load
|
||||
// stackblitz: 'https://stackblitz.com/github/facebook/docusaurus/tree/main/examples/classic',
|
||||
// Dedicated branch: faster load
|
||||
stackblitz: 'https://stackblitz.com/github/facebook/docusaurus/tree/starter',
|
||||
'stackblitz-ts':
|
||||
'https://stackblitz.com/github/facebook/docusaurus/tree/main/examples/classic-typescript',
|
||||
};
|
||||
|
||||
const PlaygroundDocumentationUrl = 'https://docusaurus.io/docs/playground';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue