For testing purposes.
Some of the examples in index.md load local modules (e.g. confetti.mjs and divmap.mjs) via paths like /confetti.mjs. For those to work, a dev server must be serving this project.
-
Start the local module server (required for local widget examples):
npm run serve
-
Run the site with one of the following:
-
Development (MySTMD + Book Theme): Use MySTMD on the appropriate branch/version and run
myst start --headlesswith the Book Theme development server running locally. -
After release: If the AnyWidget support is already released in MyST themes and the CLI, you can run:
myst start
-