This commit is contained in:
2023-11-14 19:29:23 +08:00
parent 19b3965ab1
commit ea2adbe978
6 changed files with 10 additions and 3 deletions

View File

@@ -13,14 +13,18 @@ export default defineConfig({
detailsLabel: "详细信息", detailsLabel: "详细信息",
}, },
}, },
head: [
['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
],
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
externalLinkIcon: true,
nav: [ nav: [
{ text: "首页", link: "/" }, { text: "首页", link: "/" },
{ {
text: "Python", text: "Python",
items: [ items: [
{ text: "基础知识", link: "/python/index.md" }, { text: "基础知识", link: "/python/00/index.md" },
{ text: "办公自动化", link: "/oa/index.md" }, { text: "办公自动化", link: "/oa/index.md" },
{ text: "网络爬虫", link: "/crawler/index.md" }, { text: "网络爬虫", link: "/crawler/index.md" },
], ],
@@ -32,7 +36,7 @@ export default defineConfig({
{ {
text: "课程须知", text: "课程须知",
items: [ items: [
{ text: "本网站", link: "/python/00/book.md" }, { text: "本网站", link: "/python/00/index.md" },
{ text: "自测猫", link: "/python/00/cat.md" }, { text: "自测猫", link: "/python/00/cat.md" },
{ text: "练习册", link: "/python/00/playground.md" }, { text: "练习册", link: "/python/00/playground.md" },
{ text: "判题狗", link: "/python/00/dog.md" }, { text: "判题狗", link: "/python/00/dog.md" },

View File

@@ -8,7 +8,7 @@ hero:
actions: actions:
- theme: brand - theme: brand
text: Python 基础知识 text: Python 基础知识
link: /python/ link: /python/00/
- theme: alt - theme: alt
text: 计算机科学速成 text: 计算机科学速成
link: /cs/00/ link: /cs/00/

BIN
docs/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

3
docs/python/00/index.md Normal file
View File

@@ -0,0 +1,3 @@
# 如何使用本网站
本站是用于

View File