import {defineConfig} from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "NyaHome",
  description: "自托管 AI 创作聊天室平台",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      {text: '主页', link: '/'},
      {text: '使用', link: '/use/start'}
    ],

    sidebar: [
      {
        text: '使用',
        items: [
          {text: '开始', link: '/use/start'},
          {text: '默认行为', link: '/use/default-action'},
          {text: '用户系统', link: '/use/user-system'},
        ]
      },
      {
        text: '开发',
        items: [
          {text: '后端响应', link: '/dev/backend-response'},
        ]
      },
    ],

    socialLinks: [
      {icon: 'github', link: 'https://github.com/vuejs/vitepress'}
    ]
  }
})
