export default {
  // 站点级选项
  title: "前端开发规范",
  description: "前端开发规范",
  base: "/",

  // @see https://vitepress.dev/zh/reference/site-config#head
  head: [["script", {}, `console.log('自定义脚本');`]],

  themeConfig: {
    // aside: 'right',
    // @see https://vitepress.dev/zh/reference/default-theme-config#outline
    outline: {
      level: "deep",
      label: "大纲"
    },
    // @see https://vitepress.dev/zh/reference/default-theme-config#docfooter
    docFooter: {
      prev: "上一页",
      next: "下一页"
    },
    // @see https://vitepress.dev/zh/reference/default-theme-config#lightmodeswitchtitle
    // @see https://vitepress.dev/zh/reference/default-theme-config#darkmodeswitchtitle
    lightModeSwitchTitle: "浅色模式",
    darkModeSwitchTitle: "深色模式",

    // @see https://vitepress.dev/zh/reference/default-theme-config#sociallinks
    socialLinks: [{ icon: "github", link: "https://github.com" }],

    nav: [{ text: "首页", link: "/" }],
    sidebar: [
      { text: "首页", link: "/" },
      { text: "通用规范"},
      { text: "开发环境", link: "/dev-env" },
      { text: "vue单文件组件", link: "/vue-sfc" },
      { text: "git提交规范", link: "/git-commit" },
      { text: "项目开发" },
      { text: '目录结构', link: '/dir-structure'},
      { text: '关于此项目', link: '/about'},
      { text: '第三方依赖项', link: '/3rd-libs'},
      { text: '配置文件', link: '/config'},
      { text: '本地存储', link: '/storage'},
      { text: '事件总线', link: '/event-bus'},
      { text: '主题', link: '/theme'},
      { text: '多语言', link: '/i18n'},
      { text: '网络请求', link: '/api-request'}
    ]
  }
};
