import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "梨花雨",
  description: "软件设计与创新实验室",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: "主页", link: "/" },
      { text: "文档", link: "/intro/welcome" },
    ],

    sidebar: [
      {
        text: "介绍",
        items: [
          { text: "欢迎", link: "/intro/welcome" },
          { text: "关于", link: "/intro/about" },
        ],
      },
      {
        text: "黄睿",
        items: [{ text: "金华人才网数据表分析", link: "/hr/hr" }],
      },
      {
        text: "龚涵博",
        items: [{ text: "龚涵博", link: "/ghb/ghb" }],
      },

      {
        text: "石亚玲",
        items: [
          { text: "jinhua", link: "/石亚玲/syl-11-22-add_jh_tables_analyse" },
          { text: "算法", link: "/石亚玲/syl" },
          { text: "日程表", link: "/石亚玲/schedule" },
        ],
      },
      {
        text: "吴禹谷",
        items: [{ text: "Sunway User Sys", link: "/wyg/sunway-user-sys" }],
      },
      {
        text: "吴子妍",
        items: [
          { text: "吴子妍", link: "/wzy/wyz" },
          { text: "note3-tables", link: "/wzy/note3-tables" },
        ],
      },
      {
        text: "潘绅翰",
        items: [{ text: "psh示例", link: "/psh/psh" }],
      },
      {
        text: "郑子墨",
        items: [
          { text: "网站文件更新", link: "/zzm/zzm1" },
          { text: "表分析", link: "zzm/zzm2" },
        ],
      },
      {
        text: "李嘉丽",
        items: [{ text: "李嘉丽", link: "/ljl/ljl" }],
      },
      {
        text: "梅凯杰",
        items: [{ text: "梅凯杰", link: "/mkj/mkj" }],
      },
    ],

    socialLinks: [
      { icon: "gitee", link: "https://gitee.com/gushenfree/flower-rain" },
    ],
  },
  // 在 VitePress 中项目根目录视为 docs 目录
  outDir: "..output/docs/dist",
});
