Skip to content

Commit

Permalink
Move out data
Browse files Browse the repository at this point in the history
  • Loading branch information
raix committed Jul 15, 2024
1 parent dc1a86e commit a721e3b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 15 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions docs/charts/basic/area-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Example() {
## Animation Disabled

```tsx preview
import { chartDataMedium } from "@/docs/charts/basic/data";
import { chartDataMedium } from "@/docs/charts/_lib/data";
import { AreaChart } from '@/ui/charts/AreaChart';

export default function Example() {
Expand All @@ -73,7 +73,7 @@ export default function Example() {
## Large data series

```tsx preview
import { chartDataLarge } from "@/docs/charts/basic/data";
import { chartDataLarge } from "@/docs/charts/_lib/data";
import { AreaChart } from '@/ui/charts/AreaChart';

export default function Example() {
Expand All @@ -86,7 +86,7 @@ export default function Example() {
## Maximum data series

```tsx preview
import { chartDataMaximum } from "@/docs/charts/basic/data";
import { chartDataMaximum } from "@/docs/charts/_lib/data";
import { AreaChart } from '@/ui/charts/AreaChart';

export default function Example() {
Expand Down
6 changes: 3 additions & 3 deletions docs/charts/basic/bar-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Example() {
## Animation Disabled

```tsx preview
import { chartDataMedium } from "@/docs/charts/basic/data";
import { chartDataMedium } from "@/docs/charts/_lib/data";
import { BarChart } from '@/ui/charts/BarChart';

export default function Example() {
Expand All @@ -73,7 +73,7 @@ export default function Example() {
## Large data series

```tsx preview
import { chartDataLarge } from "@/docs/charts/basic/data";
import { chartDataLarge } from "@/docs/charts/_lib/data";
import { BarChart } from '@/ui/charts/BarChart';

export default function Example() {
Expand All @@ -86,7 +86,7 @@ export default function Example() {
## Maximum data series

```tsx preview
import { chartDataMaximum } from "@/docs/charts/basic/data";
import { chartDataMaximum } from "@/docs/charts/_lib/data";
import { BarChart } from '@/ui/charts/BarChart';

export default function Example() {
Expand Down
6 changes: 3 additions & 3 deletions docs/charts/basic/line-plot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Example() {
## Animation Disabled

```tsx preview
import { chartDataMedium } from "@/docs/charts/basic/data";
import { chartDataMedium } from "@/docs/charts/_lib/data";
import { LinePlot } from '@/ui/charts/LinePlot';

export default function Example() {
Expand All @@ -73,7 +73,7 @@ export default function Example() {
## Large data series

```tsx preview
import { chartDataLarge } from "@/docs/charts/basic/data";
import { chartDataLarge } from "@/docs/charts/_lib/data";
import { LinePlot } from '@/ui/charts/LinePlot';

export default function Example() {
Expand All @@ -86,7 +86,7 @@ export default function Example() {
## Maximum data series

```tsx preview
import { chartDataMaximum } from "@/docs/charts/basic/data";
import { chartDataMaximum } from "@/docs/charts/_lib/data";
import { LinePlot } from '@/ui/charts/LinePlot';

export default function Example() {
Expand Down
6 changes: 3 additions & 3 deletions docs/charts/basic/pie-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Example() {
## Animation Disabled

```tsx preview
import { chartDataMedium } from "@/docs/charts/basic/data";
import { chartDataMedium } from "@/docs/charts/_lib/data";
import { PieChart } from '@/ui/charts/PieChart';

export default function Example() {
Expand All @@ -73,7 +73,7 @@ export default function Example() {
## Large data series

```tsx preview
import { chartDataLarge } from "@/docs/charts/basic/data";
import { chartDataLarge } from "@/docs/charts/_lib/data";
import { PieChart } from '@/ui/charts/PieChart';

export default function Example() {
Expand All @@ -86,7 +86,7 @@ export default function Example() {
## Maximum data series

```tsx preview
import { chartDataMaximum } from "@/docs/charts/basic/data";
import { chartDataMaximum } from "@/docs/charts/_lib/data";
import { PieChart } from '@/ui/charts/PieChart';

export default function Example() {
Expand Down
6 changes: 3 additions & 3 deletions docs/charts/basic/radar-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Example() {
```

```tsx preview
import { radarDataMedium } from "@/docs/charts/basic/data";
import { radarDataMedium } from "@/docs/charts/_lib/data";
import { RadarChart } from '@/ui/charts/RadarChart';

export default function Example() {
Expand All @@ -59,7 +59,7 @@ export default function Example() {
## Large data series

```tsx preview
import { radarDataLarge } from "@/docs/charts/basic/data";
import { radarDataLarge } from "@/docs/charts/_lib/data";
import { RadarChart } from '@/ui/charts/RadarChart';

export default function Example() {
Expand All @@ -72,7 +72,7 @@ export default function Example() {
## Maximum data series

```tsx preview
import { radarDataBig } from "@/docs/charts/basic/data";
import { radarDataBig } from "@/docs/charts/_lib/data";
import { RadarChart } from '@/ui/charts/RadarChart';

export default function Example() {
Expand Down
3 changes: 3 additions & 0 deletions rspress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import { defineConfig } from "rspress/config";
export default defineConfig({
globalStyles: path.join(__dirname, "styles", "index.css"),
root: path.join(__dirname, "docs"),
route: {
exclude: ["**/_lib/*.*"]
},
title: "WindCraftUI",
description: "React Template Components",
icon: "/windcraft-logo.webp",
Expand Down

0 comments on commit a721e3b

Please sign in to comment.