Skip to content

Commit

Permalink
fix: add more itens to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
omariosouto committed Jan 6, 2022
1 parent deb3167 commit 840e649
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 4 deletions.
11 changes: 9 additions & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@
"colors": "Colors",
"typography": "Typography",
"space": "Space",
"icons": "Icons"
"icons": "Icons",
"generator": "Generator"
},
"theme.mdx": "theme.stories.mdx"
"theme.mdx": "theme.stories.mdx",
"breakpoints.mdx": "breakpoints.stories.mdx",
"colors.mdx": "colors.stories.mdx",
"typography.mdx": "typography.stories.mdx",
"space.mdx": "space.stories.mdx",
"icons.mdx": "icons.stories.mdx",
"generator.mdx": "generator.stories.mdx"
}
}
}
7 changes: 7 additions & 0 deletions lib/core/theme/breakpoints.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Breakpoints" />

# Breakpoints

...
7 changes: 7 additions & 0 deletions lib/core/theme/colors.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Colors" />

# Colors

...
9 changes: 9 additions & 0 deletions lib/core/theme/generator/generator.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Generator" />

# Generator

...

<!-- https://material.io/components/buttons -->
7 changes: 7 additions & 0 deletions lib/core/theme/icons.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Icons" />

# Icons

...
7 changes: 7 additions & 0 deletions lib/core/theme/space.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Space" />

# Space

...
2 changes: 1 addition & 1 deletion lib/core/theme/theme.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme" />
<Meta title="Theming and customizing for your project" />

# What is considered the theme?

Expand Down
7 changes: 7 additions & 0 deletions lib/core/theme/typography.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Meta } from '@storybook/addon-docs';

<Meta title="Theme/Typography" />

# Typography

...
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:storybook": "build-storybook -o dist-storybook",
"export:types": "tsc",
"export:docs": "find ./lib -name '*.mdx' -exec cp -prv '{}' './dist' ';' && node ./scripts/parseDocs.js && cp ./docs.json ./dist/docs.json && ls -la ./dist",
"deploy:docs": "cd ../ && cd docs && yarn deploy",
"deploy:docs": "cd ../ && cd docs && yarn deploy:soft",
"lint": "eslint ."
},
"dependencies": {
Expand Down

1 comment on commit 840e649

@vercel
Copy link

@vercel vercel bot commented on 840e649 Jan 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.