import { definePlumeNotesConfig } from 'vuepress-theme-plume'

export const zhNotes = definePlumeNotesConfig({
  dir: 'notes',
  link: '/note',
  notes: [
    {
      text: '',
      dir: 'vuepress-theme-plume',
      link: '/vuepress-theme-plume/',
      sidebar: [
        '',
        {
          text: '指南',
          icon: 'icon-park-outline:guide-board',
          items: ['快速开始', '编写文章'],
        },
        {
          text: '配置',
          items: [
            {
              text: '主题配置',
              link: '主题配置',
              items: ['主题插件配置', 'notes配置'],
            },
            '页面配置',
          ],
        },
        {
          text: '功能',
          items: ['基础功能', 'markdown增强'],
        },
      ],
    },
    {
      dir: 'vuepress-plugin',
      text: '',
      link: '/vuepress-plugin/',
      sidebar: [
        'caniuse/README',
        {
          dir: 'netlify-functions',
          text: 'plugin-netlify-functions',
          link: 'netlify-functions',
          items: ['', '介绍', '使用', '功能', 'API', 'functions开发指南'],
        },
      ],
    },
  ],
})

export const enNotes = definePlumeNotesConfig({
  dir: 'notes',
  link: '/note',
  notes: [
    {
      dir: 'vuepress-plugin',
      text: '',
      link: '/vuepress-plugin/',
      sidebar: ['caniuse/README'],
    },
  ],
})
