This is the Carbon Design System website which is built using GatsbyJS.
src
βββ components
βββ content
βββ data
βββ layouts
βββ pages
βββ styles
βββ templates
Install dependencies
yarn
Build website-addons package
cd packages/addons-website
yarn build
Run dev environment
yarn dev
Run internal dev environment
yarn dev:internal
Add-on development /packages/addons-website
uses storybook
yarn storybook
If you need more detailed information on how to setup your machine to develop locally please take a look at our wiki.
Runing the build commands generates all the files and places them in the public
folder.
Build external site
yarn build:external
Build internal site
yarn build:internal