chore: 添加docsBranch配置说明

This commit is contained in:
xugaoyi 2022-06-02 10:39:03 +08:00
parent b069788b16
commit 7c5ab13a07
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ export default defineConfig4CustomTheme<VdoingThemeConfig>({
searchMaxSuggestions: 10, // 搜索结果显示最大数
lastUpdated: '上次更新', // 开启更新时间,并配置前缀文字 string | boolean (取值为git提交时间)
docsDir: 'docs', // 编辑的文件夹
// docsBranch: 'master', // 编辑的文件所在分支默认master。 注意如果你的分支是main则修改为main
editLinks: true, // 启用编辑
editLinkText: '编辑',