diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 5222bff..8262c6d 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -22,7 +22,7 @@ export default defineConfig({ externalLinkIcon: true, nav: [ { text: "首页", link: "/" }, - { text: "基础知识", link: "/basic/book/" }, + { text: "基础知识", link: "/basic/manual/book/" }, { text: "数据分析", link: "/data-analysis/index.md" }, { text: "网络爬虫", link: "/crawler/index.md" }, { text: "计算机速成课", link: "/crash-course/00/" }, @@ -32,30 +32,30 @@ export default defineConfig({ { text: "使用说明", items: [ - { text: "本网站", link: "/basic/book" }, - { text: "自测猫", link: "/basic/code" }, - { text: "判题狗", link: "/basic/oj" }, - { text: "练习册", link: "/basic/play" }, + { text: "本网站", link: "/basic/manual/book" }, + { text: "自测猫", link: "/basic/manual/code" }, + { text: "判题狗", link: "/basic/manual/oj" }, + { text: "练习册", link: "/basic/manual/play" }, ], }, { text: "编程技巧", items: [ - { text: "Python 小抄", link: "/basic/cheatsheet" }, - { text: "看懂报错信息", link: "/basic/error-message" }, - { text: "使用 AI", link: "/basic/chatgpt" }, + { text: "Python 小抄", link: "/basic/tips/cheatsheet" }, + { text: "看懂报错信息", link: "/basic/tips/error-message" }, + { text: "使用 AI", link: "/basic/tips/chatgpt" }, ], }, { text: "OJ", items: [ - { text: "推荐的做题顺序", link: "/basic/oj-problems" }, + { text: "推荐的做题顺序", link: "/basic/oj/oj-problems" }, ], }, { text: "无用的冷知识", items: [ - { text: "中文编程语言介绍", link: "/basic/chinese-program-language" }, + { text: "中文编程语言介绍", link: "/basic/others/chinese-program-language" }, ], }, ], diff --git a/basic/book/book.png b/basic/manual/book/book.png similarity index 100% rename from basic/book/book.png rename to basic/manual/book/book.png diff --git a/basic/book/index.md b/basic/manual/book/index.md similarity index 100% rename from basic/book/index.md rename to basic/manual/book/index.md diff --git a/basic/code/cat.png b/basic/manual/code/cat.png similarity index 100% rename from basic/code/cat.png rename to basic/manual/code/cat.png diff --git a/basic/code/code.png b/basic/manual/code/code.png similarity index 100% rename from basic/code/code.png rename to basic/manual/code/code.png diff --git a/basic/code/index.md b/basic/manual/code/index.md similarity index 100% rename from basic/code/index.md rename to basic/manual/code/index.md diff --git a/basic/oj/index.md b/basic/manual/oj/index.md similarity index 100% rename from basic/oj/index.md rename to basic/manual/oj/index.md diff --git a/basic/oj/oj.png b/basic/manual/oj/oj.png similarity index 100% rename from basic/oj/oj.png rename to basic/manual/oj/oj.png diff --git a/basic/play/index.md b/basic/manual/play/index.md similarity index 100% rename from basic/play/index.md rename to basic/manual/play/index.md diff --git a/basic/play/play.png b/basic/manual/play/play.png similarity index 100% rename from basic/play/play.png rename to basic/manual/play/play.png diff --git a/basic/oj-problems/index.md b/basic/oj/oj-problems/index.md similarity index 100% rename from basic/oj-problems/index.md rename to basic/oj/oj-problems/index.md diff --git a/basic/chinese-program-language/image-1.png b/basic/others/chinese-program-language/image-1.png similarity index 100% rename from basic/chinese-program-language/image-1.png rename to basic/others/chinese-program-language/image-1.png diff --git a/basic/chinese-program-language/image-2.png b/basic/others/chinese-program-language/image-2.png similarity index 100% rename from basic/chinese-program-language/image-2.png rename to basic/others/chinese-program-language/image-2.png diff --git a/basic/chinese-program-language/image-3.png b/basic/others/chinese-program-language/image-3.png similarity index 100% rename from basic/chinese-program-language/image-3.png rename to basic/others/chinese-program-language/image-3.png diff --git a/basic/chinese-program-language/image.png b/basic/others/chinese-program-language/image.png similarity index 100% rename from basic/chinese-program-language/image.png rename to basic/others/chinese-program-language/image.png diff --git a/basic/chinese-program-language/index.md b/basic/others/chinese-program-language/index.md similarity index 100% rename from basic/chinese-program-language/index.md rename to basic/others/chinese-program-language/index.md diff --git a/basic/chatgpt/index.md b/basic/tips/chatgpt/index.md similarity index 100% rename from basic/chatgpt/index.md rename to basic/tips/chatgpt/index.md diff --git a/basic/cheatsheet/index.md b/basic/tips/cheatsheet/index.md similarity index 100% rename from basic/cheatsheet/index.md rename to basic/tips/cheatsheet/index.md diff --git a/basic/error-message/index.md b/basic/tips/error-message/index.md similarity index 100% rename from basic/error-message/index.md rename to basic/tips/error-message/index.md diff --git a/index.md b/index.md index 74b454e..6c51f11 100644 --- a/index.md +++ b/index.md @@ -8,7 +8,7 @@ hero: actions: - theme: brand text: 编程基础 - link: /basic/book/ + link: /basic/manual/book/ - theme: alt text: 计算机速成 link: /crash-course/00/