项目文件夹

文件
2026-05-04 08:50:31 +08:00

38 行
843 B
TypeScript

import 'fumadocs-ui/style.css'
import './global.css'
import { RootProvider } from 'fumadocs-ui/provider/next'
import type { Metadata } from 'next'
import type { ReactNode } from 'react'
export const metadata: Metadata = {
title: {
default: 'Leon Docs',
template: '%s | Leon Docs'
},
description:
'Documentation for Leon 2.0, the open-source personal AI assistant built around tools, memory, context, and owner control.'
}
export default function RootLayout({
children
}: {
children: ReactNode
}): ReactNode {
return (
<html lang="en" suppressHydrationWarning>
<body>
<RootProvider
theme={{
attribute: 'class',
defaultTheme: 'dark',
enableSystem: false
}}
>
{children}
</RootProvider>
</body>
</html>
)
}