docusaurus/admin/new.docusaurus.io
Sébastien Lorber b3e89d2a86
feat: docusaurus.new + improved StackBlitz playground (#5235)
* 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
2021-07-28 19:27:58 +02:00
..
functions feat: multiple playground choices (#5207) 2021-07-22 21:10:36 +02:00
functionUtils feat: docusaurus.new + improved StackBlitz playground (#5235) 2021-07-28 19:27:58 +02:00
netlify.toml feat: multiple playground choices (#5207) 2021-07-22 21:10:36 +02:00
package.json feat: multiple playground choices (#5207) 2021-07-22 21:10:36 +02:00
README.md feat: docusaurus.new + improved StackBlitz playground (#5235) 2021-07-28 19:27:58 +02:00

new.docusaurus.io + docusaurus.new

This is a Netlify deployment to handle the Docusaurus playgrounds shortcuts:

See also the Playground doc page

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.