/carbon-website

The website for the Carbon Design System

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Carbon Design System

This is the Carbon Design System website which is built using GatsbyJS.

📂 Structure

src
├── components
├── content
├── data
├── layouts
├── pages
├── styles
├── templates

👩‍💻 Development

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.

🚀 Build

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