diff --git a/.vitepress/config.ts b/.vitepress/config.ts index c653b30..717766f 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -22,43 +22,50 @@ export default defineConfig({ externalLinkIcon: true, nav: [ { text: "首页", link: "/" }, - { text: "基础知识", link: "/basic/manual/book/" }, - { text: "计算机速成课", link: "/crash-course/00/" }, + { text: "基础知识", link: "/basic/manual/book/index.md" }, + { text: "计算机速成课", link: "/crash-course/00/index.md" }, ], sidebar: { "/basic": [ { text: "使用说明", items: [ - { text: "本网站", link: "/basic/manual/book" }, - { text: "自测猫", link: "/basic/manual/code" }, - { text: "判题狗", link: "/basic/manual/oj" }, - { text: "练习册", link: "/basic/manual/play" }, + { text: "本网站", link: "/basic/manual/book/index.md" }, + { text: "自测猫", link: "/basic/manual/code/index.md" }, + { text: "判题狗", link: "/basic/manual/oj/index.md" }, + { text: "练习册", link: "/basic/manual/play/index.md" }, ], }, { text: "编程技巧", items: [ - { text: "Python 小抄", link: "/basic/tips/cheatsheet" }, - { text: "看懂报错信息", link: "/basic/tips/error-message" }, - { text: "使用 AI", link: "/basic/tips/chatgpt" }, + { text: "Python 小抄", link: "/basic/tips/cheatsheet/index.md" }, + { + text: "看懂报错信息", + link: "/basic/tips/error-message/index.md", + }, + { text: "使用 AI", link: "/basic/tips/chatgpt/index.md" }, ], }, { text: "判题狗", items: [ - { text: "推荐的做题顺序", link: "/basic/online-judge/ordering" }, + { + text: "推荐的做题顺序", + link: "/basic/online-judge/ordering/index.md", + }, ], }, { text: "趣味杂谈", items: [ - { text: "中文编程语言介绍", link: "/basic/others/chinese-program-language" }, + { + text: "中文编程语言介绍", + link: "/basic/others/chinese-program-language/index.md", + }, ], }, ], - "/data-analysis": [{}], - "/crawler": [{}], "/crash-course": [ { text: "简介", link: "/crash-course/00/index.md" }, { text: "计算机早期历史", link: "/crash-course/01/index.md" }, diff --git a/crawler/index.md b/crawler/index.md deleted file mode 100644 index bef7c17..0000000 --- a/crawler/index.md +++ /dev/null @@ -1 +0,0 @@ -# python \ No newline at end of file diff --git a/data-analysis/index.md b/data-analysis/index.md deleted file mode 100644 index e69de29..0000000 diff --git a/index.md b/index.md index a3d63ea..708308e 100644 --- a/index.md +++ b/index.md @@ -8,10 +8,10 @@ hero: actions: - theme: brand text: 编程基础 - link: /basic/manual/book/ + link: /basic/manual/book/index.md - theme: alt text: 计算机速成 - link: /crash-course/00/ + link: /crash-course/00/index.md features: - title: 派神启动