squiggle/packages/website
2022-04-20 12:15:07 -04:00
..
blog Run prettier on website code 2022-04-11 09:15:46 +10:00
docs squiggle syntax in initialSquiggleString for trunctate 2022-04-20 12:15:07 -04:00
src Ran prettier on index.ts, improved playground showing in website 2022-04-15 18:00:31 -04:00
static Restructured codebase a little 2022-02-06 14:48:21 -05:00
.gitignore Restructured codebase a little 2022-02-06 14:48:21 -05:00
.prettierignore functions reference is almost done 2022-04-20 12:09:57 -04:00
babel.config.js Run prettier on website code 2022-04-11 09:15:46 +10:00
docusaurus.config.js migrated invariants.md to docusaurus 2022-04-13 14:46:01 -04:00
netlify.toml gt => git 2022-04-15 10:41:06 -04:00
package.json Bump hast-util-is-element from 1.1.0 to 2.1.2 2022-04-14 14:42:53 +00:00
README.md cleaned up README and ran yarn format 2022-04-13 14:57:01 -04:00
sidebars.js migrated invariants.md to docusaurus 2022-04-13 14:46:01 -04:00

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, which you have to build manually.

cd ../squiggle-lang
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