squiggle/packages/website
2022-09-05 13:18:01 +01:00
..
blog
docs Correct spelling error 2022-09-05 13:18:01 +01:00
src
static
.gitignore
.prettierignore
babel.config.js
CHANGELOG.md
docusaurus.config.js
netlify.toml
package.json
README.md
sidebars.js
tailwind.config.js
webpack.config.js

Website

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

Build for development

We assume you ran yarn at monorepo level.

The website depends on squiggle-lang and components, which you have to build manually.

cd ../squiggle-lang
yarn build
cd ../components
yarn build

Generate static content, to the build directory.

yarn build

Open a local dev server

yarn start

Most changes are reflected live without having to restart the server.

Clean up the build artefacts.

yarn clean