diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bac36b6..a514e59 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: 20 diff --git a/docs/bun.lockb b/docs/bun.lockb index f2eee43..09455b9 100755 Binary files a/docs/bun.lockb and b/docs/bun.lockb differ diff --git a/docs/package.json b/docs/package.json index 64f361e..06e2b68 100644 --- a/docs/package.json +++ b/docs/package.json @@ -10,15 +10,13 @@ "fmt": "bun prettier --write ." }, "dependencies": { - "@heroicons/react": "^2.2.0", "@tabler/icons-react": "^3.29.0", "geist": "^1.3.1", "next": "15.1.5", "nextra": "^4.1.0", "nextra-theme-docs": "^4.1.0", "react": "^19.0.0", - "react-dom": "^19.0.0", - "tailwind-merge": "^2.6.0" + "react-dom": "^19.0.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", diff --git a/docs/src/app/[...mdxPath]/page.tsx b/docs/src/app/[...mdxPath]/page.tsx index 1ad2f0d..5b34ead 100644 --- a/docs/src/app/[...mdxPath]/page.tsx +++ b/docs/src/app/[...mdxPath]/page.tsx @@ -4,7 +4,7 @@ import { useMDXComponents } from "@/mdx-components"; export const generateStaticParams = generateStaticParamsFor("mdxPath"); interface Props { - params: { mdxPath: string[] }; + params: Promise<{ mdxPath: string[] }>; } export async function generateMetadata(props: Props) { diff --git a/docs/src/app/components/Button.tsx b/docs/src/app/components/Button.tsx deleted file mode 100644 index 718fb6f..0000000 --- a/docs/src/app/components/Button.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import Link from "next/link"; -import { ReactNode } from "react"; -import { twMerge } from "tailwind-merge"; - -interface ButtonProps { - href: string; - className?: string; - children: ReactNode; -} - -export default function Button({ href, className, children }: ButtonProps) { - return ( - - {children} - - ); -} diff --git a/docs/src/app/components/Thing.tsx b/docs/src/app/components/Thing.tsx deleted file mode 100644 index dc8b990..0000000 --- a/docs/src/app/components/Thing.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import React, { ReactNode, createElement } from "react"; - -export function Thing({ - title, - icon, - content, -}: { - title: string; - icon: ReactNode; - content: string; -}) { - const iconElement = createElement(icon, { - className: "text-black size-7 dark:text-white inline mr-2", - }); - return ( -
- {content} -
-