import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'; import { i18n } from '@/lib/i18n'; /** * Shared layout configurations * * you can customise layouts individually from: * Home Layout: app/(home)/layout.tsx * Docs Layout: app/docs/layout.tsx */ export const baseOptions = (locale: string): BaseLayoutProps => { return { themeSwitch: { enabled: true, mode: 'light-dark' }, nav: { title: (
FastGPT
) }, // i18n: { // languages: ['zh-CN', 'en'], // defaultLanguage: 'zh-CN', // hideLocale: 'always' // }, searchToggle: { enabled: true } }; };