excalidraw/dev-docs
Ryan Di 47cbb5b6fb
refactor: single source of truths with editor interface (#10178)
* refactor device to editor interface and derive styles panel

* allow host app to control form factor and ui mode

* add editor interface event listener

* put new props inside UIOptions

* refactor: move related apis into one file

* expose getFormFactor

* privatize the setting of desktop mode and fix snapshots

* refactor and fix test

* remove unimplemented code

* export getFormFactor()

* replace `getFormFactor` with `getEditorInterface`

* remove dead & useless

* comment

* fix ts

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-11-03 23:34:17 +01:00
..
docs refactor: single source of truths with editor interface (#10178) 2025-11-03 23:34:17 +01:00
src docs: fix broken update scene button example in docs (#9726) 2025-07-08 19:29:44 +05:30
static feat: update logo (#6979) 2023-09-11 17:47:41 +02:00
.gitignore refactor: rename docs to dev-docs (#5487) 2022-07-26 16:55:25 +05:30
README.md refactor: rename docs to dev-docs (#5487) 2022-07-26 16:55:25 +05:30
babel.config.js refactor: rename docs to dev-docs (#5487) 2022-07-26 16:55:25 +05:30
docusaurus.config.js chore: release @excalidraw/excalidraw@18.0.0 🎉 (#9127) 2025-02-28 16:49:09 +01:00
package.json chore: post publish docs & examples changes (#9217) 2025-03-11 13:02:59 +01:00
sidebars.js docs: Docs for v0.17.0 🚀 (#7248) 2023-11-14 19:54:34 +05:30
tsconfig.json refactor: rename docs to dev-docs (#5487) 2022-07-26 16:55:25 +05:30
vercel.json fix: update path of files in docs (#7428) 2023-12-12 14:28:34 +05:30
yarn.lock chore: post publish docs & examples changes (#9217) 2025-03-11 13:02:59 +01:00

README.md

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.