shanyuhai123 / vuepress-plugin-auto-sidebar

vuepress 自动生成侧边栏的插件。
https://shanyuhai123.github.io/vuepress-plugin-auto-sidebar/
MIT License
136 stars 29 forks source link

默认分组 #65

Closed countryMan1993 closed 2 years ago

countryMan1993 commented 2 years ago

一个文件夹内的默认的分组名称如何去除,想全部都自定义分组,不然就得改文件夹名称

shanyuhai123 commented 2 years ago

临时解决方案为将其中一个分组用标题的映射

shanyuhai123 commented 2 years ago

更新到 npm i vuepress-plugin-auto-sidebar@2.4.0-alpha.5,以增加该配置项

module.exports = {
  plugins: [
    "vuepress-plugin-auto-sidebar": {
      removeEmptyGroup: true
    }
  ]
}