Skip to content

Commit 6d8707f

Browse files
committed
πŸ“ docs: add nav
1 parent 64b2478 commit 6d8707f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

β€Ždocs/app/docs/layout.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { DocsLayout } from "fumadocs-ui/layouts/docs";
44

55
export default function Layout({ children }: LayoutProps<"/docs">) {
66
return (
7-
<DocsLayout tree={source.pageTree} {...baseOptions()}>
7+
<DocsLayout tree={source.pageTree} {...baseOptions()} links={[]}>
88
{children}
99
</DocsLayout>
1010
);

β€Ždocs/lib/layout.shared.tsxβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@ export function baseOptions(): BaseLayoutProps {
1313
),
1414
},
1515
githubUrl: "https://github.com/iamyoki/committier",
16+
links: [
17+
{
18+
text: "Documentation",
19+
url: "/docs",
20+
},
21+
],
1622
};
1723
}

0 commit comments

Comments
Β (0)