Skip to content

Commit c05920a

Browse files
committed
build: 修改在线文档配置
1 parent e14c9d1 commit c05920a

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

docs/.vuepress/config.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ module.exports = {
6161

6262
docsDir: 'docs', // 编辑的文件夹
6363
editLinks: true, // 编辑链接
64-
editLinkText: '编辑',
64+
editLinkText: '📝 帮助改善此页面!',
6565

6666
// 以下配置是Vdoing主题改动的和新增的配置
6767
sidebar: { mode: 'structuring', collapsable: false }, // 侧边栏 'structuring' | { mode: 'structuring', collapsable: Boolean} | 'auto' | 自定义 温馨提示:目录页数据依赖于结构化的侧边栏数据,如果你不设置为'structuring',将无法使用目录页
6868

6969
// sidebarOpen: false, // 初始状态是否打开侧边栏,默认true
7070
updateBar: {
7171
// 最近更新栏
72-
showToArticle: false // 显示到文章页底部,默认true
72+
showToArticle: true // 显示到文章页底部,默认true
7373
// moreArticle: '/archives' // “更多文章”跳转的页面,默认'/archives'
7474
},
7575
// titleBadge: false, // 文章标题前的图标是否显示,默认true
@@ -122,10 +122,14 @@ module.exports = {
122122

123123
// 插件
124124
plugins: [
125-
// [require('./plugins/love-me'), { // 鼠标点击爱心特效
126-
// color: '#11a8cd', // 爱心颜色,默认随机色
127-
// excludeClassName: 'theme-vdoing-content' // 要排除元素的class, 默认空''
128-
// }],
125+
[
126+
require('./plugins/love-me'),
127+
{
128+
// 鼠标点击爱心特效
129+
color: '#11a8cd', // 爱心颜色,默认随机色
130+
excludeClassName: 'theme-vdoing-content' // 要排除元素的class, 默认空''
131+
}
132+
],
129133

130134
['fulltext-search'], // 全文搜索
131135

@@ -147,13 +151,6 @@ module.exports = {
147151
// ]
148152
// }],
149153

150-
[
151-
'vuepress-plugin-baidu-tongji', // 百度统计
152-
{
153-
hm: baiduCode || '01293bffa6c3962016c08ba685c79d78'
154-
}
155-
],
156-
157154
[
158155
'one-click-copy',
159156
{

0 commit comments

Comments
 (0)