From 153d3da7603fcc42ad691a3e4b6f44687a239d71 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 10 Oct 2024 15:59:40 +0800 Subject: [PATCH] update --- .vitepress/config.ts | 22 +++++++++++------- basic/{00/assets => book}/book.png | Bin basic/{00 => book}/index.md | 2 +- basic/{01/chatgpt.md => chatgpt/index.md} | 0 .../{01/cheatsheet.md => cheatsheet/index.md} | 0 .../image-1.png | Bin .../image-2.png | Bin .../image-3.png | Bin .../image.png | Bin .../index.md} | 0 basic/{00/assets => code}/cat.png | Bin basic/{00/assets/book2.png => code/code.png} | Bin basic/{00/code.md => code/index.md} | 4 ++-- .../index.md} | 0 basic/oj-sorting/index.md | 0 basic/{00/oj.md => oj/index.md} | 2 +- basic/{00/assets => oj}/oj.png | Bin basic/{00/play.md => play/index.md} | 2 +- basic/{00/assets => play}/play.png | Bin index.md | 2 +- 20 files changed, 20 insertions(+), 14 deletions(-) rename basic/{00/assets => book}/book.png (100%) rename basic/{00 => book}/index.md (97%) rename basic/{01/chatgpt.md => chatgpt/index.md} (100%) rename basic/{01/cheatsheet.md => cheatsheet/index.md} (100%) rename basic/{02 => chinese-program-language}/image-1.png (100%) rename basic/{02 => chinese-program-language}/image-2.png (100%) rename basic/{02 => chinese-program-language}/image-3.png (100%) rename basic/{02 => chinese-program-language}/image.png (100%) rename basic/{02/chinese-program-language.md => chinese-program-language/index.md} (100%) rename basic/{00/assets => code}/cat.png (100%) rename basic/{00/assets/book2.png => code/code.png} (100%) rename basic/{00/code.md => code/index.md} (94%) rename basic/{01/error-message.md => error-message/index.md} (100%) create mode 100644 basic/oj-sorting/index.md rename basic/{00/oj.md => oj/index.md} (92%) rename basic/{00/assets => oj}/oj.png (100%) rename basic/{00/play.md => play/index.md} (94%) rename basic/{00/assets => play}/play.png (100%) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index b05614b..981f5d4 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -32,24 +32,30 @@ export default defineConfig({ { text: "使用说明", items: [ - { text: "本网站", link: "/basic/00/index.md" }, - { text: "自测猫", link: "/basic/00/code.md" }, - { text: "判题狗", link: "/basic/00/oj.md" }, - { text: "练习册", link: "/basic/00/play.md" }, + { text: "本网站", link: "/basic/book" }, + { text: "自测猫", link: "/basic/code" }, + { text: "判题狗", link: "/basic/oj" }, + { text: "练习册", link: "/basic/play" }, ], }, { text: "编程技巧", items: [ - { text: "Python 小抄", link: "/basic/01/cheatsheet.md" }, - { text: "看懂报错信息", link: "/basic/01/error-message.md" }, - { text: "使用 AI", link: "/basic/01/chatgpt.md" }, + { text: "Python 小抄", link: "/basic/cheatsheet" }, + { text: "看懂报错信息", link: "/basic/error-message" }, + { text: "使用 AI", link: "/basic/chatgpt" }, + ], + }, + { + text: "OJ", + items: [ + { text: "推荐的做题顺序", link: "/basic/oj-sorting" }, ], }, { text: "无用的冷知识", items: [ - { text: "中文编程语言介绍", link: "/basic/02/chinese-program-language.md" }, + { text: "中文编程语言介绍", link: "/basic/chinese-program-language" }, ], }, ], diff --git a/basic/00/assets/book.png b/basic/book/book.png similarity index 100% rename from basic/00/assets/book.png rename to basic/book/book.png diff --git a/basic/00/index.md b/basic/book/index.md similarity index 97% rename from basic/00/index.md rename to basic/book/index.md index 5fbede4..dde37c2 100644 --- a/basic/00/index.md +++ b/basic/book/index.md @@ -1,6 +1,6 @@ # 本网站的使用说明 -![](./assets/book.png) +![](./book.png) 本网站 [https://book.xuyue.cc](https://book.xuyue.cc) 是一本编程书,其中包含了编程语言、应用领域、计算机科学等相关内容。 diff --git a/basic/01/chatgpt.md b/basic/chatgpt/index.md similarity index 100% rename from basic/01/chatgpt.md rename to basic/chatgpt/index.md diff --git a/basic/01/cheatsheet.md b/basic/cheatsheet/index.md similarity index 100% rename from basic/01/cheatsheet.md rename to basic/cheatsheet/index.md diff --git a/basic/02/image-1.png b/basic/chinese-program-language/image-1.png similarity index 100% rename from basic/02/image-1.png rename to basic/chinese-program-language/image-1.png diff --git a/basic/02/image-2.png b/basic/chinese-program-language/image-2.png similarity index 100% rename from basic/02/image-2.png rename to basic/chinese-program-language/image-2.png diff --git a/basic/02/image-3.png b/basic/chinese-program-language/image-3.png similarity index 100% rename from basic/02/image-3.png rename to basic/chinese-program-language/image-3.png diff --git a/basic/02/image.png b/basic/chinese-program-language/image.png similarity index 100% rename from basic/02/image.png rename to basic/chinese-program-language/image.png diff --git a/basic/02/chinese-program-language.md b/basic/chinese-program-language/index.md similarity index 100% rename from basic/02/chinese-program-language.md rename to basic/chinese-program-language/index.md diff --git a/basic/00/assets/cat.png b/basic/code/cat.png similarity index 100% rename from basic/00/assets/cat.png rename to basic/code/cat.png diff --git a/basic/00/assets/book2.png b/basic/code/code.png similarity index 100% rename from basic/00/assets/book2.png rename to basic/code/code.png diff --git a/basic/00/code.md b/basic/code/index.md similarity index 94% rename from basic/00/code.md rename to basic/code/index.md index 77745d3..dfb5f4b 100644 --- a/basic/00/code.md +++ b/basic/code/index.md @@ -1,6 +1,6 @@ # 自测猫的使用说明 -![](./assets/cat.png) +![](./cat.png) 自测猫 [https://code.xuyue.cc](https://code.xuyue.cc) 是一个代码在线运行的网站,省去在本地搭建编程环境的过程,平时运行简单的代码片段够用了。(为什么叫自测猫,因为是**自**行**测**试代码的机器**猫** @@ -8,7 +8,7 @@ 因为适配了移动端,用手机打开,一些功能我给移到其他地方了,并且新增了**编程助手**,方便关键字和符号的输入: -![](./assets/book2.png) +![](./code.png) 希望不要给我找没有电脑的借口了,你有手机就可以写代码了(也许吧 diff --git a/basic/01/error-message.md b/basic/error-message/index.md similarity index 100% rename from basic/01/error-message.md rename to basic/error-message/index.md diff --git a/basic/oj-sorting/index.md b/basic/oj-sorting/index.md new file mode 100644 index 0000000..e69de29 diff --git a/basic/00/oj.md b/basic/oj/index.md similarity index 92% rename from basic/00/oj.md rename to basic/oj/index.md index 6851751..65406aa 100644 --- a/basic/00/oj.md +++ b/basic/oj/index.md @@ -1,6 +1,6 @@ # 判题狗的使用说明 -![](./assets/oj.png) +![](./oj.png) 判题狗 [https://oj.xuyue.cc](https://oj.xuyue.cc) 是一个在线评测平台(Online Judge),由练习、比赛、排名等组成,真实反映你用代码解决问题的能力。 diff --git a/basic/00/assets/oj.png b/basic/oj/oj.png similarity index 100% rename from basic/00/assets/oj.png rename to basic/oj/oj.png diff --git a/basic/00/play.md b/basic/play/index.md similarity index 94% rename from basic/00/play.md rename to basic/play/index.md index e9df2d5..e729fd4 100644 --- a/basic/00/play.md +++ b/basic/play/index.md @@ -1,6 +1,6 @@ # 练习册的使用说明 -![](./assets/play.png) +![](./play.png) 练习册 [https://play.xuyue.cc](https://play.xuyue.cc) 单纯用于检测你是否掌握代码格式,本身这个网站也比较简单,半个小时就可以通关(关键是我比较懒,没有几道题 diff --git a/basic/00/assets/play.png b/basic/play/play.png similarity index 100% rename from basic/00/assets/play.png rename to basic/play/play.png diff --git a/index.md b/index.md index 56e7b9d..74b454e 100644 --- a/index.md +++ b/index.md @@ -8,7 +8,7 @@ hero: actions: - theme: brand text: 编程基础 - link: /basic/00/ + link: /basic/book/ - theme: alt text: 计算机速成 link: /crash-course/00/