Skip to content

Commit 27b5e69

Browse files
committed
feat: 拆分成两个单独的部分, intro 主入口作为“入门指南”保留
1 parent 0a95c02 commit 27b5e69

4 files changed

Lines changed: 47 additions & 11 deletions

File tree

docs/.vitepress/config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ const chaptersAndGuides = [
3535
];
3636

3737
module.exports = {
38-
title: "编程导引",
38+
title: "入门指南",
3939
themeConfig: {
4040
nav: [
41-
{ text: "编程导引", link: "/chapters/intro" },
41+
{ text: "计算机编程", link: "/chapters/" },
4242
{ text: "Agentic AI", link: "/agentic-ai/" },
4343
{ text: "参考", link: "/reference/glossary" },
4444
],
@@ -52,7 +52,10 @@ module.exports = {
5252
items: [
5353
{ text: "概念解释", link: "/reference/glossary" },
5454
{ text: "RAG 技术详解", link: "/reference/rag-deep-dive" },
55-
{ text: "API 调用与 Function Calling", link: "/reference/api-interaction" },
55+
{
56+
text: "API 调用与 Function Calling",
57+
link: "/reference/api-interaction",
58+
},
5659
],
5760
},
5861
],

docs/agentic-ai/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: home
3+
title: "Agentic AI"
34
hero:
45
name: Agentic AI 入门指南
56
text: 从对话到 Agent

docs/chapters/index.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: home
3+
title: 计算机编程
4+
hero:
5+
name: 计算机编程入门指南
6+
text: Introduction to Programming
7+
tagline: "从零开始你的计算机编程之旅"
8+
image:
9+
src: /hero.png
10+
alt: Introduction to Programming
11+
actions:
12+
- text: 开始阅读 →
13+
link: /chapters/intro
14+
theme: brand
15+
- text: 工具上手 🛠️
16+
link: /guides/
17+
theme: alt
18+
# features:
19+
# - icon: 🛠️
20+
# title: Simple and minimal, always
21+
# details: Lorem ipsum...
22+
# - icon:
23+
# src: /cool-feature-icon.svg
24+
# title: Another cool feature
25+
# details: Lorem ipsum...
26+
# - icon:
27+
# dark: /dark-feature-icon.svg
28+
# light: /light-feature-icon.svg
29+
# title: Another cool feature
30+
# details: Lorem ipsum...
31+
---

docs/index.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
layout: home
3+
title: 入门指南
34
hero:
4-
name: 编程导引
5-
text: Introduction to Programming
6-
tagline: "从零开始你的计算机编程之旅"
5+
name: 入门指南
6+
text: Introduction Guides
7+
tagline: "给初学者的上手之路"
78
image:
89
src: /hero.png
910
alt: Introduction to Programming
1011
actions:
11-
- text: 开始阅读 →
12-
link: /chapters/intro
12+
- text: 计算机编程入门指南 →
13+
link: /chapters/
14+
theme: brand
15+
- text: Agentic AI 入门指南 →
16+
link: /agentic-ai/
1317
theme: brand
14-
- text: 工具上手 🛠️
15-
link: /guides/
16-
theme: alt
1718
# features:
1819
# - icon: 🛠️
1920
# title: Simple and minimal, always

0 commit comments

Comments
 (0)