Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
refactor: Move component Readmes to Storybook, #135
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Jun 17, 2021
1 parent dfa3258 commit e760d92
Show file tree
Hide file tree
Showing 104 changed files with 1,873 additions and 33,675 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ npm i base5-ui styled-components

## Running the component library locally

base5-ui comes with its own documentation tool & development playground powered by [docz](https://www.docz.site/). To check it out locally, clone this repo to your local machine, install its dependencies (`npm i`), and finally run the following command:
base5-ui comes with its own documentation tool & development playground powered by [Storybook](https://storybook.js.org/). To check it out locally, clone this repo to your local machine, install its dependencies (`npm i`), and finally run the following command:

```
npm run docz:dev
npm run storybook
```

The documentation environment should then open in your browser at http://localhost:3000, letting you browse all available components to inspect their API and see usage examples.
The documentation environment should then open in your browser at http://localhost:6006, letting you browse all available components to inspect their API, read documentation and see usage examples.

## Using base5-ui

Expand Down Expand Up @@ -52,9 +52,9 @@ ReactDOM.render(<App />, rootElement);

## Updating the repo

Want to add/edit icons? Please follow the steps outlined in the [icons README](/src/icons/README.mdx) before continuing here.
> Want to add/edit icons? Please follow the steps outlined in the [icons README](/src/icons/README.mdx) before continuing here.
To publish changes to the components in this repo, please follow these steps. The docs will automatically be updated after the changes were published.
To publish changes to the components in this repo, please follow these steps. The online docs will automatically be updated after the changes were merged to the master branch.

- Commit your changes using semantic versioning prefixes:
1. `fix:` or `refactor:` for a patch release (x.x.+1)
Expand Down
11 changes: 0 additions & 11 deletions doczrc.js

This file was deleted.

8 changes: 0 additions & 8 deletions gatsby-node.js

This file was deleted.

5 changes: 3 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ module.exports = {
collectCoverageFrom: [
'**/*.{js}',
'!**/docz/**',
'!**/src-icons/**',
'!**/node_modules/**',
'!**/test/**',
],
coveragePathIgnorePatterns: ['/node_modules/', '/docz/', '/test/'],
modulePathIgnorePatterns: ['/node_modules/', '/docz/'],
coveragePathIgnorePatterns: ['/node_modules/', '/.storybook/', '/.src-icons/', '/test/'],
modulePathIgnorePatterns: ['/node_modules/', '/.storybook/'],
};
Loading

0 comments on commit e760d92

Please sign in to comment.