From ed2cca2d86c4457fb3b7d720023a2a4a1b4247a8 Mon Sep 17 00:00:00 2001 From: zhihuaiwen Date: Fri, 26 Jan 2024 12:53:47 +0800 Subject: [PATCH] update --- docs/.vuepress/navbar.ts | 12 +++++--- docs/.vuepress/sidebar/about-the-author.ts | 31 +++++++++++---------- docs/.vuepress/sidebar/index.ts | 2 ++ docs/.vuepress/sidebar/life.ts | 11 ++++++++ docs/about-the-author/personal-life/wewe.md | 2 ++ docs/life/2017.md | 1 + docs/life/2018.md | 1 + docs/life/2019.md | 1 + docs/life/README.md | 0 9 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 docs/.vuepress/sidebar/life.ts create mode 100644 docs/about-the-author/personal-life/wewe.md delete mode 100644 docs/life/README.md diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index 052c26cb..68ab057b 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -14,12 +14,16 @@ export default navbar([ text: "网站相关", icon: "about", children: [ - {text: "关于作者", icon: "zuozhe", link: "/about-the-author/"}, { - text: "生活", - icon: "life", - link: "/life/", + text: "关于作者", + icon: "zuozhe", + link: "/about-the-author/" }, + // { + // text: "生活", + // icon: "life", + // link: "/life/", + // }, ], }, ]); diff --git a/docs/.vuepress/sidebar/about-the-author.ts b/docs/.vuepress/sidebar/about-the-author.ts index fb700ec1..951ac0c9 100644 --- a/docs/.vuepress/sidebar/about-the-author.ts +++ b/docs/.vuepress/sidebar/about-the-author.ts @@ -1,18 +1,19 @@ -import { arraySidebar } from "vuepress-theme-hope"; +import {arraySidebar} from "vuepress-theme-hope"; export const aboutTheAuthor = arraySidebar([ - { - text: "个人经历", - icon: "experience", - collapsible: false, - children: [ - ], - }, - { - text: "杂谈", - icon: "chat", - collapsible: false, - children: [ - ], - }, + { + text: "个人生活", + icon: "experience", + prefix: "personal-life/", + collapsible: false, + children: "structure" + }, + { + text: "杂谈", + icon: "chat", + prefix: "talking/", + collapsible: false, + children: "structure" + + }, ]); diff --git a/docs/.vuepress/sidebar/index.ts b/docs/.vuepress/sidebar/index.ts index fe131434..f42f9e7f 100644 --- a/docs/.vuepress/sidebar/index.ts +++ b/docs/.vuepress/sidebar/index.ts @@ -10,6 +10,7 @@ import {personalWebsite} from "./personalWebsite.js"; import {kubernetes} from "./kubernetes.js"; import {others} from "./others"; import {middleware} from "./middleware.js"; +import {life} from "./life.js"; export default sidebar({ // 应该把更精确的路径放置在前边 @@ -20,6 +21,7 @@ export default sidebar({ "/kubernetes/": kubernetes, "/books/": books, "/donate/": donate, + "/life/": life, "/others/": others, "/about-the-author/": aboutTheAuthor, "/high-quality-technical-articles/": highQualityTechnicalArticles, diff --git a/docs/.vuepress/sidebar/life.ts b/docs/.vuepress/sidebar/life.ts new file mode 100644 index 00000000..10115c03 --- /dev/null +++ b/docs/.vuepress/sidebar/life.ts @@ -0,0 +1,11 @@ +import {arraySidebar} from "vuepress-theme-hope"; + +export const life = arraySidebar([ + { + text: "生活", + icon: "life", + collapsible: false, + children: "structure" + }, + ] +) \ No newline at end of file diff --git a/docs/about-the-author/personal-life/wewe.md b/docs/about-the-author/personal-life/wewe.md new file mode 100644 index 00000000..983280b9 --- /dev/null +++ b/docs/about-the-author/personal-life/wewe.md @@ -0,0 +1,2 @@ +# 自我介绍 +oifjwoiej \ No newline at end of file diff --git a/docs/life/2017.md b/docs/life/2017.md index ecf26474..06385215 100644 --- a/docs/life/2017.md +++ b/docs/life/2017.md @@ -1,3 +1,4 @@ +# 2017 2016年6月,大三,考完最后一科,默默的看着大四那群人一个一个的走了,想着想着,明年毕业的时候,自己将会失去你所拥有的一切,大学那群认识的人,可能这辈子都不会见到了——致远离家乡出省读书的娃。然而,我并没有想到,自己失去的,不仅仅是那群人,几乎是一切。。。。 17年1月,因为受不了北京雾霾(其实是次因),从实习的公司跑路了,很不舍,只是,感觉自己还有很多事要做,很多梦想要去实现,毕竟,看着身边的人,去了美团,拿着15k的月薪,有点不平衡,感觉他也不是很厉害吧,我努力努力10k应该没问题吧? diff --git a/docs/life/2018.md b/docs/life/2018.md index 9051d174..07040c16 100644 --- a/docs/life/2018.md +++ b/docs/life/2018.md @@ -1,3 +1,4 @@ +# 2018 年底老姐结婚,跑回家去了,忙着一直没写,本来想回深圳的时候空余的时候写写,没想到一直加班,嗯,9点半下班那种,偶尔也趁着间隙的时间,一段一段的凑着吧。 diff --git a/docs/life/2019.md b/docs/life/2019.md index a0ef1186..1f0056e2 100644 --- a/docs/life/2019.md +++ b/docs/life/2019.md @@ -1,3 +1,4 @@ +# 2019 2019,本命年,1字头开头的年份,就这么过去了,迎来了2开头的十年,12月过的不是很好,每隔几天就吵架,都没怎么想起写自己的年终总结了,对这个跨年也不是很重视,貌似有点浑浑噩噩的样子。今天1号,就继续来公司学习学习,就写写文章吧。 19年一月,没发生什么事,对老板也算是失望,打算过完春节就出去外面试试,完全的架构错误啊,怎么守得了,然后开了个年会,没什么好看的,唯一的例外就是看见漂漂亮亮的她,可惜不敢搭话,就这么的呗。2月以奇奇怪怪的方式走到了一起,开心,又有点伤心,然后就开始了这个欢喜而又悲剧的本命年。 diff --git a/docs/life/README.md b/docs/life/README.md deleted file mode 100644 index e69de29b..00000000