mirror of
https://github.com/facebook/docusaurus.git
synced 2024-11-25 16:46:13 +08:00
fd43036ab8
Some checks failed
Argos CI / take-screenshots (push) Has been cancelled
Build Hash Router / Build Hash Router (push) Has been cancelled
Canary Release / Publish Canary (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Continuous Releases / Continuous Releases (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (18.0) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (20) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (22) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Has been cancelled
E2E Tests / E2E — npm (push) Has been cancelled
E2E Tests / E2E — pnpm (push) Has been cancelled
|
||
---|---|---|
.. | ||
functions | ||
functionUtils | ||
netlify.toml | ||
package.json | ||
README.md |
new.docusaurus.io + docusaurus.new
This is a Netlify deployment to handle the Docusaurus playgrounds shortcuts:
- docusaurus.new (main one, as of today domain is owned by StackBlitz but may be transferred to FB)
- new.docusaurus.io (legacy one)
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.