From 46fb63016d4572287a28360d088a15e337e46d89 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 28 Jul 2022 23:06:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=B0=86=E5=90=84?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E8=8F=9C=E5=8D=95=E8=81=9A=E5=90=88=E5=88=B0?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=AF=BC=E8=88=AA=E8=8F=9C=E5=8D=95=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repos/.vitepress/config/nav.ts | 28 ++++++++----------- repos/.vitepress/config/sidebar.ts | 6 ++-- .../03/25.合并两个Git仓库的历史提交记录.md | 0 .../26.修改Git最后一次提交记录的作者和邮箱.md | 0 .../27.修改Git所有提交记录中的作者和邮箱.md | 0 repos/{ => categories}/fragments/index.md | 0 ...回收站已损坏。是否清空该驱动器上的回收站.md | 0 .../12/08.for循环中删除集合元素隐藏的陷阱.md | 0 ...o for Spring Boot default configuration.md | 0 .../issues/2021/12/11.SQL 注入攻击风险.md | 0 ...3.无法访问F盘。文件或目录损坏且无法读取.md | 0 ...Script 无法存储 Java Long 类型数据问题.md | 0 ...个自身类的静态对象变量,究竟会如何执行?.md | 0 repos/{ => categories}/issues/index.md | 0 .../2021/11/18.用Java8获取近N天日期.md | 0 .../2021/11/22.一条SQL查询今年每月统计信息.md | 0 repos/{ => categories}/solutions/index.md | 0 17 files changed, 14 insertions(+), 20 deletions(-) rename repos/{ => categories}/fragments/2022/03/25.合并两个Git仓库的历史提交记录.md (100%) rename repos/{ => categories}/fragments/2022/03/26.修改Git最后一次提交记录的作者和邮箱.md (100%) rename repos/{ => categories}/fragments/2022/03/27.修改Git所有提交记录中的作者和邮箱.md (100%) rename repos/{ => categories}/fragments/index.md (100%) rename repos/{ => categories}/issues/2021/12/01.F盘上的回收站已损坏。是否清空该驱动器上的回收站.md (100%) rename repos/{ => categories}/issues/2021/12/08.for循环中删除集合元素隐藏的陷阱.md (100%) rename repos/{ => categories}/issues/2021/12/10.Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.md (100%) rename repos/{ => categories}/issues/2021/12/11.SQL 注入攻击风险.md (100%) rename repos/{ => categories}/issues/2021/12/13.无法访问F盘。文件或目录损坏且无法读取.md (100%) rename repos/{ => categories}/issues/2022/01/26.JavaScript 无法存储 Java Long 类型数据问题.md (100%) rename repos/{ => categories}/issues/2022/03/24.创建一个自身类的静态对象变量,究竟会如何执行?.md (100%) rename repos/{ => categories}/issues/index.md (100%) rename repos/{ => categories}/solutions/2021/11/18.用Java8获取近N天日期.md (100%) rename repos/{ => categories}/solutions/2021/11/22.一条SQL查询今年每月统计信息.md (100%) rename repos/{ => categories}/solutions/index.md (100%) diff --git a/repos/.vitepress/config/nav.ts b/repos/.vitepress/config/nav.ts index 38e70634e..d24fb6559 100644 --- a/repos/.vitepress/config/nav.ts +++ b/repos/.vitepress/config/nav.ts @@ -2,33 +2,27 @@ import DefaultTheme from 'vitepress/theme' export const nav: DefaultTheme.Config['nav'] = [ { - text: 'Bug万象集', - link: '/issues/index', - activeMatch: '/issues/' // 当前页面处于匹配路径下时, 对应导航菜单将突出显示 - }, - { - text: '"杂碎"逆袭史', - link: '/fragments/index', - activeMatch: '/fragments/' - }, - { - text: '方案春秋志', - link: '/solutions/index', - activeMatch: '/solutions/' + text: '我的分类', + items: [ + { text: 'Bug万象集', link: '/categories/issues/index', activeMatch: '/categories/issues/' }, + { text: '"杂碎"逆袭史', link: '/categories/fragments/index', activeMatch: '/categories/fragments/' }, + { text: '方案春秋志', link: '/categories/solutions/index', activeMatch: '/categories/solutions/' } + ], + activeMatch: '/categories/' }, { text: '我的小课', items: [ - { text: 'MyBatis快速入门', link: '/courses/mybatis/index' } + { text: 'MyBatis快速入门', link: '/courses/mybatis/index', activeMatch: '/courses/mybatis/' } ], activeMatch: '/courses/' }, { text: '关于', items: [ - { text: '关于知识库', link: '/about/index' }, - { text: '关于我', link: '/about/me' } + { text: '关于知识库', link: '/about/index', activeMatch: '/about/index.html' }, + { text: '关于我', link: '/about/me', activeMatch: '/about/me.html' } ], - activeMatch: '/about/' + activeMatch: '/about/' // // 当前页面处于匹配路径下时, 对应导航菜单将突出显示 } ] \ No newline at end of file diff --git a/repos/.vitepress/config/sidebar.ts b/repos/.vitepress/config/sidebar.ts index 82e64e96c..50e9fbaec 100644 --- a/repos/.vitepress/config/sidebar.ts +++ b/repos/.vitepress/config/sidebar.ts @@ -2,9 +2,9 @@ import DefaultTheme from 'vitepress/theme' import { sync } from "fast-glob" export const sidebar: DefaultTheme.Config['sidebar'] = { - '/issues/': getItemsByDate("issues"), - '/fragments/': getItemsByDate("fragments"), - '/solutions/': getItemsByDate("solutions"), + '/categories/issues/': getItemsByDate("categories/issues"), + '/categories/fragments/': getItemsByDate("categories/fragments"), + '/categories/solutions/': getItemsByDate("categories/solutions"), '/courses/mybatis/': getItems("courses/mybatis") } diff --git a/repos/fragments/2022/03/25.合并两个Git仓库的历史提交记录.md b/repos/categories/fragments/2022/03/25.合并两个Git仓库的历史提交记录.md similarity index 100% rename from repos/fragments/2022/03/25.合并两个Git仓库的历史提交记录.md rename to repos/categories/fragments/2022/03/25.合并两个Git仓库的历史提交记录.md diff --git a/repos/fragments/2022/03/26.修改Git最后一次提交记录的作者和邮箱.md b/repos/categories/fragments/2022/03/26.修改Git最后一次提交记录的作者和邮箱.md similarity index 100% rename from repos/fragments/2022/03/26.修改Git最后一次提交记录的作者和邮箱.md rename to repos/categories/fragments/2022/03/26.修改Git最后一次提交记录的作者和邮箱.md diff --git a/repos/fragments/2022/03/27.修改Git所有提交记录中的作者和邮箱.md b/repos/categories/fragments/2022/03/27.修改Git所有提交记录中的作者和邮箱.md similarity index 100% rename from repos/fragments/2022/03/27.修改Git所有提交记录中的作者和邮箱.md rename to repos/categories/fragments/2022/03/27.修改Git所有提交记录中的作者和邮箱.md diff --git a/repos/fragments/index.md b/repos/categories/fragments/index.md similarity index 100% rename from repos/fragments/index.md rename to repos/categories/fragments/index.md diff --git a/repos/issues/2021/12/01.F盘上的回收站已损坏。是否清空该驱动器上的回收站.md b/repos/categories/issues/2021/12/01.F盘上的回收站已损坏。是否清空该驱动器上的回收站.md similarity index 100% rename from repos/issues/2021/12/01.F盘上的回收站已损坏。是否清空该驱动器上的回收站.md rename to repos/categories/issues/2021/12/01.F盘上的回收站已损坏。是否清空该驱动器上的回收站.md diff --git a/repos/issues/2021/12/08.for循环中删除集合元素隐藏的陷阱.md b/repos/categories/issues/2021/12/08.for循环中删除集合元素隐藏的陷阱.md similarity index 100% rename from repos/issues/2021/12/08.for循环中删除集合元素隐藏的陷阱.md rename to repos/categories/issues/2021/12/08.for循环中删除集合元素隐藏的陷阱.md diff --git a/repos/issues/2021/12/10.Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.md b/repos/categories/issues/2021/12/10.Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.md similarity index 100% rename from repos/issues/2021/12/10.Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.md rename to repos/categories/issues/2021/12/10.Command line is too long. Shorten command line for XXX or also for Spring Boot default configuration.md diff --git a/repos/issues/2021/12/11.SQL 注入攻击风险.md b/repos/categories/issues/2021/12/11.SQL 注入攻击风险.md similarity index 100% rename from repos/issues/2021/12/11.SQL 注入攻击风险.md rename to repos/categories/issues/2021/12/11.SQL 注入攻击风险.md diff --git a/repos/issues/2021/12/13.无法访问F盘。文件或目录损坏且无法读取.md b/repos/categories/issues/2021/12/13.无法访问F盘。文件或目录损坏且无法读取.md similarity index 100% rename from repos/issues/2021/12/13.无法访问F盘。文件或目录损坏且无法读取.md rename to repos/categories/issues/2021/12/13.无法访问F盘。文件或目录损坏且无法读取.md diff --git a/repos/issues/2022/01/26.JavaScript 无法存储 Java Long 类型数据问题.md b/repos/categories/issues/2022/01/26.JavaScript 无法存储 Java Long 类型数据问题.md similarity index 100% rename from repos/issues/2022/01/26.JavaScript 无法存储 Java Long 类型数据问题.md rename to repos/categories/issues/2022/01/26.JavaScript 无法存储 Java Long 类型数据问题.md diff --git a/repos/issues/2022/03/24.创建一个自身类的静态对象变量,究竟会如何执行?.md b/repos/categories/issues/2022/03/24.创建一个自身类的静态对象变量,究竟会如何执行?.md similarity index 100% rename from repos/issues/2022/03/24.创建一个自身类的静态对象变量,究竟会如何执行?.md rename to repos/categories/issues/2022/03/24.创建一个自身类的静态对象变量,究竟会如何执行?.md diff --git a/repos/issues/index.md b/repos/categories/issues/index.md similarity index 100% rename from repos/issues/index.md rename to repos/categories/issues/index.md diff --git a/repos/solutions/2021/11/18.用Java8获取近N天日期.md b/repos/categories/solutions/2021/11/18.用Java8获取近N天日期.md similarity index 100% rename from repos/solutions/2021/11/18.用Java8获取近N天日期.md rename to repos/categories/solutions/2021/11/18.用Java8获取近N天日期.md diff --git a/repos/solutions/2021/11/22.一条SQL查询今年每月统计信息.md b/repos/categories/solutions/2021/11/22.一条SQL查询今年每月统计信息.md similarity index 100% rename from repos/solutions/2021/11/22.一条SQL查询今年每月统计信息.md rename to repos/categories/solutions/2021/11/22.一条SQL查询今年每月统计信息.md diff --git a/repos/solutions/index.md b/repos/categories/solutions/index.md similarity index 100% rename from repos/solutions/index.md rename to repos/categories/solutions/index.md