diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 8406d9d..edaa20c 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -37,7 +37,7 @@ export default defineConfig({ { text: "课程须知", items: [ - { text: "本网站", link: "/python/00/index.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" }, @@ -95,7 +95,7 @@ export default defineConfig({ outlineTitle: "目录", sidebarMenuLabel: "侧边栏", returnToTopLabel: "返回顶部", - darkModeSwitchLabel: "浅色/暗色", + darkModeSwitchLabel: "浅色/深色", docFooter: { prev: "上一篇", next: "下一篇" }, }, diff --git a/docs/.vitepress/theme/components/CodeEditor.vue b/docs/.vitepress/theme/components/CodeEditor.vue index 415bc29..5b934bc 100644 --- a/docs/.vitepress/theme/components/CodeEditor.vue +++ b/docs/.vitepress/theme/components/CodeEditor.vue @@ -1,11 +1,11 @@ diff --git a/docs/index.md b/docs/index.md index 91e9b7f..a36c2ec 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,8 +3,8 @@ layout: home hero: - name: "代码,启动" - tagline: "简单明了" + name: "徐越的编程书" + tagline: "用最简单的话讲清楚编程" actions: - theme: brand text: Python 基础知识 @@ -14,11 +14,10 @@ hero: link: /cs/00/ features: - - title: Feature A - details: Lorem ipsum dolor sit amet, consectetur adipiscing elit - - title: Feature B - details: Lorem ipsum dolor sit amet, consectetur adipiscing elit - - title: Feature C - details: Lorem ipsum dolor sit amet, consectetur adipiscing elit + - title: 派神启动 + details: 运行代码、修改代码、输入交互 + - title: 生动形象 + details: 图文并茂、简单明了 + - title: 随时随地 + details: 手机可以看、电脑可以看、白天可以看、晚上可以看 --- - diff --git a/docs/python/00/index.md b/docs/python/00/index.md index 722f18f..c4e18f2 100644 --- a/docs/python/00/index.md +++ b/docs/python/00/index.md @@ -1,13 +1,19 @@ -# 如何使用本网站 +# 如何学习这个课程 -本站是用于 +::: tip +下面的代码区域可以进行编辑并运行 +::: + +```python +print(123) +```