mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 04:19:26 +00:00
24 lines
478 B
TypeScript
24 lines
478 B
TypeScript
import type { DocsLayoutProps } from "fumadocs-ui/layout";
|
|
import type { HomeLayoutProps } from "fumadocs-ui/home-layout";
|
|
import { pageTree } from "@/app/source";
|
|
|
|
// shared configuration
|
|
export const baseOptions: HomeLayoutProps = {
|
|
nav: {
|
|
title: "Better Auth",
|
|
},
|
|
links: [
|
|
{
|
|
text: "Documentation",
|
|
url: "/docs",
|
|
active: "nested-url",
|
|
},
|
|
],
|
|
};
|
|
|
|
// docs layout configuration
|
|
export const docsOptions: DocsLayoutProps = {
|
|
...baseOptions,
|
|
tree: pageTree,
|
|
};
|