squiggle/packages/website
Ozzie Gooen b1cc459d13 Merge branch 'develop' into documentation-refactors-jul
* develop: (35 commits)
  don't spin pause icon on runs
  delayed overlay and autorun spinner
  playground renders code on second pass
  executionId for code re-runs
  spinner in autorun mode; autorun refactorings
  increase modal width
  remove toggle animation
  hideOnScoll navbar on website
  smooth scrolling when scrolling back to item from modal
  improve tooltip positioning
  fix tooltip padding on website
  close modals on escape key
  change variable border color
  smart modal positioning
  fixes #872
  ⬆️ Bump @typescript-eslint/parser from 5.30.6 to 5.30.7
  ⬆️ Bump @types/node from 18.0.6 to 18.6.1
  ⬆️ Bump mathjs from 10.6.4 to 11.0.1
  ⬆️ Bump webpack from 5.73.0 to 5.74.0
  ⬆️ Bump @testing-library/user-event from 14.2.6 to 14.3.0
  ...
2022-07-27 16:54:50 -07:00
..
blog Run prettier on website code 2022-04-11 09:15:46 +10:00
docs Improving Overview 2022-07-27 16:54:25 -07:00
src Merge branch 'develop' into documentation-refactors-jul 2022-07-27 16:54:50 -07:00
static Added new logo 2022-07-24 16:37:24 -07:00
.gitignore Restructured codebase a little 2022-02-06 14:48:21 -05:00
.prettierignore Lots of documentation tweaks 2022-06-12 21:19:28 -07:00
babel.config.js Run prettier on website code 2022-04-11 09:15:46 +10:00
docusaurus.config.js Merge branch 'develop' into documentation-refactors-jul 2022-07-27 16:54:50 -07:00
netlify.toml Fix Netlify build commands 2022-06-06 04:38:13 +00:00
package.json fallback spinner for the website 2022-07-23 21:44:08 +04:00
README.md Mention requirement on components in README 2022-06-21 23:02:55 +02:00
sidebars.js Improving Overview 2022-07-27 16:54:25 -07:00
tailwind.config.js don't use tailwindcss/forms in website 2022-06-14 12:05:13 +03:00
webpack.config.js Add css into docusaurus 2022-06-06 04:24:38 +00: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 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