Skip to content

Commit 1324414

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

369 files changed

Lines changed: 3179 additions & 116 deletions

File tree

Some content is hidden

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

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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)