mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 05:07:14 +02:00
* Upgrade playground shortcut domain to docusaurus.new * update generateExamples * update generateExamples + re-generate with stackblitz config * test * test * test * test * test * update examples * upgrade lockfile * fix yarnlock * fix yarnlock
14 lines
895 B
Markdown
14 lines
895 B
Markdown
# new.docusaurus.io + docusaurus.new
|
|
|
|
This is a Netlify deployment to handle the Docusaurus playgrounds shortcuts:
|
|
|
|
- [docusaurus.new](https://docusaurus.new) (main one, as of today domain is owned by StackBlitz but may be transfered to FB)
|
|
- [new.docusaurus.io](https://new.docusaurus.io) (legacy one)
|
|
|
|
See also the [Playground doc page](https://docusaurus.io/docs/playground)
|
|
|
|
We use serverless functions because we want to persist the latest choice of the user in a cookie, so that it redirects directly to the preferred playground next time user visits this link. This is better to do it server-side with cookies and 302 redirects than with client redirects and localStorage.
|
|
|
|
Netlify deployment (Joel can give access): https://app.netlify.com/sites/docusaurus-new/overview
|
|
|
|
Builds are stopped because we shouldn't need to redeploy very often. You can just trigger a manual build if needed.
|