mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-08 12:27:44 +00:00
* Fix sidebar tabs pre-rendering * Improve sidebar consistency * improve searchbar alignment * improve animation
25 lines
440 B
TypeScript
25 lines
440 B
TypeScript
import { changelogs, source } from "@/lib/source";
|
|
import { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
|
|
|
|
export const baseOptions: BaseLayoutProps = {
|
|
nav: {
|
|
enabled: false,
|
|
},
|
|
links: [
|
|
{
|
|
text: "Documentation",
|
|
url: "/docs",
|
|
active: "nested-url",
|
|
},
|
|
],
|
|
};
|
|
|
|
export const docsOptions = {
|
|
...baseOptions,
|
|
tree: source.pageTree,
|
|
};
|
|
export const changelogOptions = {
|
|
...baseOptions,
|
|
tree: changelogs.pageTree,
|
|
};
|