diff --git a/.DS_Store b/.DS_Store index ae5e1ddd..a4a49c5e 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index d2d91d0c..18b17011 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,8 @@ docs/.vuepress/dist # 百度链接推送 urls.txt -# mac -.DS_Store \ No newline at end of file +### mac ### +.DS_Store +**/.DS_Store +.DS_Store? + diff --git a/docs/.DS_Store b/docs/.DS_Store index d9748c4f..e9886411 100644 Binary files a/docs/.DS_Store and b/docs/.DS_Store differ diff --git a/docs/.vuepress/.DS_Store b/docs/.vuepress/.DS_Store index 69a816ce..71f3d5a2 100644 Binary files a/docs/.vuepress/.DS_Store and b/docs/.vuepress/.DS_Store differ diff --git a/docs/.vuepress/config/themeConfig.js b/docs/.vuepress/config/themeConfig.js index 39ab7bf2..62d8c416 100644 --- a/docs/.vuepress/config/themeConfig.js +++ b/docs/.vuepress/config/themeConfig.js @@ -14,6 +14,7 @@ module.exports = { editLinkText: '在 GitHub 上编辑此页', // 以下配置是Vdoing主题改动的和新增的配置 + pageStyle: 'line', // 页面风格,可选值:'card'卡片 | 'line' 线(未设置bodyBgImg时才生效), 默认'card'。 说明:card时背景显示灰色衬托出卡片样式,line时背景显示纯色,并且部分模块带线条边框 category: false, // 是否打开分类功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含分类字段 2.页面中显示与分类相关的信息和模块 3.自动生成分类页面(在@pages文件夹)。如关闭,则反之。 tag: false, // 是否打开标签功能,默认true。 如打开,会做的事情有:1. 自动生成的frontmatter包含标签字段 2.页面中显示与标签相关的信息和模块 3.自动生成标签页面(在@pages文件夹)。如关闭,则反之。 // archive: false, // 是否打开归档功能,默认true。 如打开,会做的事情有:1.自动生成归档页面(在@pages文件夹)。如关闭,则反之。 @@ -30,11 +31,11 @@ module.exports = { // ], - sidebar: 'structuring', // 侧边栏 'structuring' | { mode: 'structuring', collapsable: Boolean} | 'auto' | 自定义 温馨提示:目录页数据依赖于结构化的侧边栏数据,如果你不设置为'structuring',将无法使用目录页 + sidebar: { mode: 'structuring', collapsable: false }, // 侧边栏 'structuring' | { mode: 'structuring', collapsable: Boolean} | 'auto' | 自定义 温馨提示:目录页数据依赖于结构化的侧边栏数据,如果你不设置为'structuring',将无法使用目录页 // sidebarOpen: false, // 初始状态是否打开侧边栏,默认true updateBar: { // 最近更新栏 - showToArticle: true, // 显示到文章页底部,默认true + showToArticle: false, // 显示到文章页底部,默认true // moreArticle: '/archives' // “更多文章”跳转的页面,默认'/archives' }, @@ -47,21 +48,21 @@ module.exports = { // name: '致远', // slogan: '一个致障' // }, - // social:{ // 社交图标,显示于博主信息栏和页脚栏 - // // iconfontCssFile: '//at.alicdn.com/t/font_1678482_u4nrnp8xp6g.css', // 可选,阿里图标库在线css文件地址,对于主题没有的图标可自由添加 - // icons: [ - // { - // iconClass: 'icon-youjian', - // title: '发邮件', - // link: 'mailto:3066693006@qq.com' - // }, - // { - // iconClass: 'icon-github', - // title: 'GitHub', - // link: 'https://github.com/oddfar' - // }, - // ] - // }, + social:{ // 社交图标,显示于博主信息栏和页脚栏 + // iconfontCssFile: '//at.alicdn.com/t/font_1678482_u4nrnp8xp6g.css', // 可选,阿里图标库在线css文件地址,对于主题没有的图标可自由添加 + icons: [ + { + iconClass: 'icon-youjian', + title: '发邮件', + link: 'mailto:oddfar@163.com' + }, + { + iconClass: 'icon-github', + title: 'GitHub', + link: 'https://github.com/oddfar' + }, + ] + }, footer: { // 页脚信息 createYear: 2021, // 博客创建年份 copyrightInfo: 'oddfar | 冀ICP备20001094号', // 博客版权信息,支持a标签 diff --git a/docs/.vuepress/styles/palette.styl b/docs/.vuepress/styles/palette.styl index 2a71a319..0327ded2 100644 --- a/docs/.vuepress/styles/palette.styl +++ b/docs/.vuepress/styles/palette.styl @@ -20,8 +20,8 @@ // $lineNumbersWrapperWidth = 2.5rem // // 浅色模式 -// .theme-mode-light -// --bodyBg: #f4f4f4 +//.theme-mode-light +// --bodyBg: #fff // --mainBg: rgba(255,255,255,1) // --sidebarBg: rgba(255,255,255,.8) // --blurBg: rgba(255,255,255,.9) diff --git "a/docs/03.\346\225\260\346\215\256\345\272\223/05.MySQL/14.MySQL - SQL\344\274\230\345\214\226.md" "b/docs/03.\346\225\260\346\215\256\345\272\223/05.MySQL/14.MySQL - SQL\344\274\230\345\214\226.md" index 44423c1f..cd3f499b 100644 --- "a/docs/03.\346\225\260\346\215\256\345\272\223/05.MySQL/14.MySQL - SQL\344\274\230\345\214\226.md" +++ "b/docs/03.\346\225\260\346\215\256\345\272\223/05.MySQL/14.MySQL - SQL\344\274\230\345\214\226.md" @@ -103,7 +103,7 @@ The used command is not allowed with this MySQL version 首先看一下 local_infile 模块是否打开: -```msyql +```sql show global variables like 'local_infile'; ``` diff --git "a/docs/03.\346\225\260\346\215\256\345\272\223/15.ElasticSearch/06.ES - \347\264\242\345\274\225\345\222\214\346\226\207\346\241\243\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" "b/docs/03.\346\225\260\346\215\256\345\272\223/15.ElasticSearch/06.ES - \347\264\242\345\274\225\345\222\214\346\226\207\346\241\243\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" index ba011f66..f5601f2f 100644 --- "a/docs/03.\346\225\260\346\215\256\345\272\223/15.ElasticSearch/06.ES - \347\264\242\345\274\225\345\222\214\346\226\207\346\241\243\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" +++ "b/docs/03.\346\225\260\346\215\256\345\272\223/15.ElasticSearch/06.ES - \347\264\242\345\274\225\345\222\214\346\226\207\346\241\243\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" @@ -173,7 +173,7 @@ ES 还提供了批量操作,比如这里我们可以使用批量操作来插 数据的格式如下 -```josn +```json { "account_number": 0, "balance": 16623, diff --git "a/docs/15.\351\241\271\347\233\256/.DS_Store" "b/docs/15.\351\241\271\347\233\256/.DS_Store" index ca37a3a3..2554db58 100644 Binary files "a/docs/15.\351\241\271\347\233\256/.DS_Store" and "b/docs/15.\351\241\271\347\233\256/.DS_Store" differ diff --git a/docs/index.md b/docs/index.md index 4e8d2603..69e9c75d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,7 +10,9 @@ bannerBg: none # 文章列表显示方式: detailed 默认,显示详细版文章列表(包括作者、分类、标签、摘要、分页等)| simple => 显示简约版文章列表(仅标题和日期)| none 不显示文章列表 -postList: simple +postList: none +# simplePostListLength: 10 # 简约版文章列表显示的文章数量,默认10。(仅在postList设置为simple时生效) +# hideRightBar: true # 是否隐藏右侧边栏 --- diff --git a/package.json b/package.json index 2bdbd48e..2980b341 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "vuepress-plugin-one-click-copy": "^1.0.3", "vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-zooming": "^1.1.7", - "vuepress-theme-vdoing": "^1.12.3", + "vuepress-theme-vdoing": "^1.12.8", "yamljs": "^0.3.0" }, "dependencies": {