Skip to content

Commit b3ce738

Browse files
committed
fix: remove unued code in docs
1 parent 1f2adc6 commit b3ce738

32 files changed

+2
-19895
lines changed

.storybook/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { StorybookConfig } from '@storybook/web-components-vite';
22

33
const config: StorybookConfig = {
4-
stories: ['../docs/Introduction.mdx', '../src/**/*.mdx', '../src/**/*.stories.ts'],
4+
stories: ['../src/**/*.mdx', '../src/**/*.stories.ts'],
55
addons: ['@storybook/addon-essentials'],
66
framework: {
77
name: '@storybook/web-components-vite',

.storybook/manager.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
import { addons } from '@storybook/manager-api';
2-
import theme from './theme';
32

4-
5-
addons.setConfig({
6-
theme,
7-
});
3+
addons.setConfig({});

.storybook/preview.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
import type { Preview } from "@storybook/web-components";
22

33
import "../styles/font.css";
4-
import "../styles/theme.css";
5-
import theme from './theme';
64
// @ts-ignore
75
import DocTemplate from "./DocTemplate.mdx"
86

97
const preview: Preview = {
108
parameters: {
119
controls: { expanded: true },
1210
docs: {
13-
theme,
1411
page: DocTemplate,
1512
toc: {
1613
ignoreSelector: '#primary',

.storybook/theme.ts

-27
This file was deleted.

docs/.vitepress/config.ts

-16
This file was deleted.

docs/.vitepress/nav.ts

-18
This file was deleted.

docs/.vitepress/sidebar.ts

-51
This file was deleted.

docs/.vitepress/socialLinks.ts

-6
This file was deleted.

docs/.vitepress/theme/custom.css

-7
This file was deleted.

docs/.vitepress/theme/index.ts

-5
This file was deleted.

docs/Introduction.mdx

-16
This file was deleted.

docs/components/[component].md

-41
This file was deleted.

docs/components/[component].paths.ts

-145
This file was deleted.

0 commit comments

Comments
 (0)