0.1.5 • Published 4 years ago

@core-ds/components v0.1.5

Weekly downloads
4
License
-
Repository
-
Last release
4 years ago

Core Components

Docz site

Netlify Status

https://core-design-components.netlify.com

See existing .mdx files for examples on how to document a component.

Local Docz Server

You can build and serve the docz site locally.

  1. Make sure you have the repo cloned and Node installed
  2. npm install
  3. npm run docz:dev
  4. Any code changes should automatically reload the dev site!

Configuration

If you need to configure docz, it has a config file located at doczrc.js. Options for netlify are found in UI/templates/js/netlify.toml.

Deployment

Docz is deployed to Netlify automatically on merge to master using the Netlify CLI as part of our continuous integration. The deploy script is located at Tests/Exec/deploy-core-components-docz-site.sh

To deploy a draft site:

  1. cd to the root of the repo in cominor
  2. run Tests/Exec/deploy-core-components-docz-site.sh
  3. Once completed your console should output the "Live Draft URL"