squiggle/packages/website
Vyacheslav Matyukhin 4a75a97cb4
0.0.0 version for website package
we don't have to set it since we never publish the website to npm, and
bumping the version does nothing useful

0.0.0 is from here: https://github.com/yarnpkg/yarn/issues/5936#issuecomment-395912169

see that issue for details on how this was fixed with yarn@2, but we're
still on yarn@1.22
2022-09-07 00:39:19 +04:00
..
blog Run prettier on website code 2022-04-11 09:15:46 +10:00
docs feat: simplify Danger functions 2022-09-06 21:16:29 +02:00
src Formatted 2022-07-28 17:00:06 -07:00
static Merge branch 'develop' into documentation-refactors-jul 2022-07-28 16:00:13 -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
CHANGELOG.md yarn format:all compels me :) 2022-08-01 15:05:00 -04:00
docusaurus.config.js Replace algolia app 2022-08-23 08:59:52 -04:00
netlify.toml Fix Netlify build commands 2022-06-06 04:38:13 +00:00
package.json 0.0.0 version for website package 2022-09-07 00:39:19 +04:00
README.md Mention requirement on components in README 2022-06-21 23:02:55 +02:00
sidebars.js More small modifications 2022-07-29 08:07:11 -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