mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-09 13:54:40 +00:00
feat: Added FumaDocs
This commit is contained in:
parent
3155e7b0ac
commit
0436d2ab64
16 changed files with 1919 additions and 8 deletions
12
surfsense_web/app/docs/layout.tsx
Normal file
12
surfsense_web/app/docs/layout.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { source } from '@/lib/source';
|
||||
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
|
||||
import type { ReactNode } from 'react';
|
||||
import { baseOptions } from '@/app/layout.config';
|
||||
|
||||
export default function Layout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<DocsLayout tree={source.pageTree} {...baseOptions}>
|
||||
{children}
|
||||
</DocsLayout>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue