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