Skip to content

Commit 1324414

Browse files
author
Dan Costello
committed
Update directory structure
WIP WIP
1 parent fb6bd4b commit 1324414

File tree

369 files changed

+3179
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

369 files changed

+3179
-116
lines changed

app/docs/layout.tsx

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
1-
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
1+
import { source } from '@/lib/source';
2+
import { DocsLayout } from 'fumadocs-ui/layouts/notebook';
23
import type { ReactNode } from 'react';
34
import { baseOptions } from '@/app/layout.config';
4-
import { source } from '@/lib/source';
5-
6-
export default function Layout({ children }: { children: ReactNode }) {
7-
const options = {
8-
...baseOptions,
9-
tree: source.pageTree,
10-
sidebar: {
11-
tabs: [
12-
{
13-
title: 'Documentation',
14-
icon: '🚀',
15-
url: '/docs',
16-
description: 'Guides and definitions',
17-
},
18-
{
19-
title: 'Reference',
20-
text: 'Reference',
21-
icon: '🔍',
22-
url: '/reference',
23-
description: 'API reference',
24-
},
25-
],
26-
},
27-
};
285

6+
export default function RootDocsLayout({ children }: { children: ReactNode }) {
297
return (
30-
<DocsLayout {...options}>
8+
<DocsLayout tree={source.pageTree} {...baseOptions}>
319
{children}
3210
</DocsLayout>
3311
);
34-
}
12+
}

app/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import 'tailwindcss';
2+
@import 'fumadocs-ui/css/neutral.css';
23
@import 'fumadocs-ui/css/preset.css';
34
@import 'fumadocs-openapi/css/preset.css';
45

bun.lock

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"fumadocs-mdx": "11.6.2",
1010
"fumadocs-openapi": "^8.1.12",
1111
"fumadocs-ui": "15.2.15",
12+
"lucide-react": "^0.511.0",
1213
"next": "15.3.1",
1314
"react": "^19.1.0",
1415
"react-dom": "^19.1.0",
@@ -18,14 +19,14 @@
1819
"devDependencies": {
1920
"@tailwindcss/postcss": "^4.1.5",
2021
"@types/mdx": "^2.0.13",
21-
"@types/node": "22.15.3",
22+
"@types/node": "22.15.21",
2223
"@types/react": "^19.1.2",
2324
"@types/react-dom": "^19.1.3",
2425
"eslint": "^8",
2526
"eslint-config-next": "15.3.1",
2627
"glob": "^11.0.2",
2728
"postcss": "^8.5.3",
28-
"tailwindcss": "^4.1.5",
29+
"tailwindcss": "^4.1.7",
2930
"typescript": "^5.8.3",
3031
},
3132
},
@@ -359,7 +360,7 @@
359360

360361
"@types/ms": ["@types/[email protected]", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="],
361362

362-
"@types/node": ["@types/[email protected].3", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw=="],
363+
"@types/node": ["@types/[email protected].21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ=="],
363364

364365
"@types/react": ["@types/[email protected]", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-EB1yiiYdvySuIITtD5lhW4yPyJ31RkJkkDw794LaQYrxCSaQV/47y5o1FMC4zF9ZyjUjzJMZwbovEnT5yHTW6g=="],
365366

@@ -949,6 +950,8 @@
949950

950951
"lru-cache": ["[email protected]", "", {}, "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A=="],
951952

953+
"lucide-react": ["[email protected]", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w=="],
954+
952955
"magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } }, "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA=="],
953956

954957
"markdown-extensions": ["[email protected]", "", {}, "sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q=="],

content/docs/(authentication)/authentication-introduction.mdx renamed to content/docs/guides/(authentication)/authentication-introduction.mdx

content/docs/(authentication)/how-to-guides/authentication-methods.mdx renamed to content/docs/guides/(authentication)/how-to-guides/authentication-methods.mdx

content/docs/(authentication)/how-to-guides/domains.mdx renamed to content/docs/guides/(authentication)/how-to-guides/domains.mdx

content/docs/(authentication)/how-to-guides/emails.mdx renamed to content/docs/guides/(authentication)/how-to-guides/emails.mdx

content/docs/(authentication)/how-to-guides/index.mdx renamed to content/docs/guides/(authentication)/how-to-guides/index.mdx

content/docs/(authentication)/how-to-guides/login-interface.mdx renamed to content/docs/guides/(authentication)/how-to-guides/login-interface.mdx

content/docs/(authentication)/how-to-guides/migrate-from-auth0.mdx renamed to content/docs/guides/(authentication)/how-to-guides/migrate-from-auth0.mdx

0 commit comments

Comments
 (0)