diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index c49705e..1096199 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -13,14 +13,18 @@ export default defineConfig({ detailsLabel: "详细信息", }, }, + head: [ + ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], + ], themeConfig: { // https://vitepress.dev/reference/default-theme-config + externalLinkIcon: true, nav: [ { text: "首页", link: "/" }, { text: "Python", items: [ - { text: "基础知识", link: "/python/index.md" }, + { text: "基础知识", link: "/python/00/index.md" }, { text: "办公自动化", link: "/oa/index.md" }, { text: "网络爬虫", link: "/crawler/index.md" }, ], @@ -32,7 +36,7 @@ export default defineConfig({ { text: "课程须知", items: [ - { text: "本网站", link: "/python/00/book.md" }, + { text: "本网站", link: "/python/00/index.md" }, { text: "自测猫", link: "/python/00/cat.md" }, { text: "练习册", link: "/python/00/playground.md" }, { text: "判题狗", link: "/python/00/dog.md" }, diff --git a/docs/index.md b/docs/index.md index e1eeea6..91e9b7f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ hero: actions: - theme: brand text: Python 基础知识 - link: /python/ + link: /python/00/ - theme: alt text: 计算机科学速成 link: /cs/00/ diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico new file mode 100644 index 0000000..1279223 Binary files /dev/null and b/docs/public/favicon.ico differ diff --git a/docs/python/00/book.md b/docs/python/00/book.md deleted file mode 100644 index e69de29..0000000 diff --git a/docs/python/00/index.md b/docs/python/00/index.md new file mode 100644 index 0000000..b4e84f4 --- /dev/null +++ b/docs/python/00/index.md @@ -0,0 +1,3 @@ +# 如何使用本网站 + +本站是用于 \ No newline at end of file diff --git a/docs/python/index.md b/docs/python/index.md deleted file mode 100644 index e69de29..0000000