Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ LICENSE
declarations/
dist/
doc/
lib/
kit/

.docs
Expand Down
11 changes: 11 additions & 0 deletions docs/cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"aliases": {
"uiDir": "./components/ui",
"componentsDir": "./components",
"blockDir": "./components",
"cssDir": "./styles",
"libDir": "./lib"
},
"baseDir": "src",
"commands": {}
}
33 changes: 27 additions & 6 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
import { createMDX } from 'fumadocs-mdx/next';
import { createMDX } from "fumadocs-mdx/next";
import path from "node:path";
import { fileURLToPath } from "node:url";

// ES module equivalent of __dirname
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const withMDX = createMDX();

/** @type {import('next').NextConfig} */
const config = {
experimental: {
webpackMemoryOptimizations: true,
},
reactStrictMode: true,
serverExternalPackages: ['twoslash', 'typescript'],
experimental: {
webpackMemoryOptimizations: true,
},
reactStrictMode: true,
serverExternalPackages: ["twoslash", "typescript"],
turbopack: {
root: path.join(__dirname, "./"),
},
async rewrites() {
return [
{
source: "/docs/:path*.mdx",
destination: "/llms.mdx/docs/:path*",
},
{
source: "/api/:path*.mdx",
destination: "/llms.mdx/api/:path*",
},
];
},
};

export default withMDX(config);
26 changes: 16 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,24 @@
},
"dependencies": {
"@gillsdk/react": "^0.5.1",
"class-variance-authority": "^0.7.1",
"fathom-client": "^3.7.2",
"fumadocs-core": "15.2.10",
"fumadocs-docgen": "^2.0.0",
"fumadocs-mdx": "11.6.1",
"fumadocs-twoslash": "^3.1.1",
"fumadocs-ui": "15.2.10",
"fumadocs-core": "15.7.8",
"fumadocs-docgen": "3.0.0",
"fumadocs-mdx": "11.8.3",
"fumadocs-twoslash": "3.1.7",
"fumadocs-ui": "15.7.8",
"gill": "0.11.0",
"lucide-react": "^0.513.0",
"next": "15.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"twoslash": "^0.3.1"
"lucide-react": "0.542.0",
"next": "15.5.2",
"react": "19.1.1",
"react-dom": "19.1.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.1",
"shiki": "^3.12.0",
"tailwind-merge": "^3.3.1",
"twoslash": "0.3.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.4",
Expand Down
Loading