Files
xsai/docs/app/layout.config.tsx
T
藍+85CD 9a8b11febb docs: add integrations, remove package @xsai-ext/mcp (#92)
* docs: add integrations

* chore(mcp): remove package
2025-03-06 21:30:25 +08:00

39 lines
905 B
TypeScript

import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'
import pkg from '../package.json' with { type: 'json' }
/**
* Shared layout configurations
*
* you can configure layouts individually from:
* Home Layout: app/(home)/layout.tsx
* Docs Layout: app/docs/layout.tsx
*/
export const baseOptions: BaseLayoutProps = {
githubUrl: 'https://github.com/moeru-ai/xsai',
links: [
{
active: 'nested-url',
text: 'Docs',
url: '/docs',
},
{
active: 'none',
text: 'Blog',
url: 'https://blog.moeru.ai',
},
],
nav: {
title: (
<div className="prose flex items-center justify-center gap-3">
<img className="size-6 mb-0 -mr-1" src="https://github.com/moeru-ai.png" />
<span>xsAI</span>
<code className="py-0 px-1">
{pkg.version}
</code>
</div>
),
transparentMode: 'top',
},
}