carbon-design-system / carbon-website-archive

The old website for the Carbon Design System. This repo is archived.
https://www.carbondesignsystem.com
238 stars 115 forks source link

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