Просмотр исходного кода

Merge pull request #297 from yangej/fix/ej/lang

修正英文版本 sidebar item 的 paths
jjyaoao 5 месяцев назад
Родитель
Сommit
5de9112b5a
3 измененных файлов с 19 добавлено и 20 удалено
  1. 19 19
      docs/_sidebar_en.md
  2. 0 0
      docs/en/Preface.md
  3. 0 1
      docs/index.html

+ 19 - 19
docs/_sidebar_en.md

@@ -1,29 +1,29 @@
-- [Hello-Agents](./README_EN.md)
-  - [Preface](./Preface.md)
-  
+- [Hello-Agents](/en/README_EN.md)
+  - [Preface](/en/Preface.md)
+
 - <strong>Part I: Fundamentals of Agents and Language Models</strong>
-  - [Chapter 1 Introduction to Agents](./chapter1/Chapter1-Introduction-to-Agents.md)
-  - [Chapter 2 History of Agents](./chapter2/Chapter2-History-of-Agents.md)
-  - [Chapter 3 Fundamentals of Large Language Models](./chapter3/Chapter3-Fundamentals-of-Large-Language-Models.md)
+  - [Chapter 1 Introduction to Agents](/en/chapter1/Chapter1-Introduction-to-Agents.md)
+  - [Chapter 2 History of Agents](/en/chapter2/Chapter2-History-of-Agents.md)
+  - [Chapter 3 Fundamentals of Large Language Models](/en/chapter3/Chapter3-Fundamentals-of-Large-Language-Models.md)
 
 - <strong>Part II: Building Your Large Language Model Agent</strong>
-  - [Chapter 4 Building Classic Agent Paradigms](./chapter4/Chapter4-Building-Classic-Agent-Paradigms.md)
-  - [Chapter 5 Building Agents with Low-Code Platforms](./chapter5/Chapter5-Building-Agents-with-Low-Code-Platforms.md)
-  - [Chapter 6 Framework Development Practice](./chapter6/Chapter6-Framework-Development-Practice.md)
-  - [Chapter 7 Building Your Agent Framework](./chapter7/Chapter7-Building-Your-Agent-Framework.md)
+  - [Chapter 4 Building Classic Agent Paradigms](/en/chapter4/Chapter4-Building-Classic-Agent-Paradigms.md)
+  - [Chapter 5 Building Agents with Low-Code Platforms](/en/chapter5/Chapter5-Building-Agents-with-Low-Code-Platforms.md)
+  - [Chapter 6 Framework Development Practice](/en/chapter6/Chapter6-Framework-Development-Practice.md)
+  - [Chapter 7 Building Your Agent Framework](/en/chapter7/Chapter7-Building-Your-Agent-Framework.md)
 
 - <strong>Part III: Advanced Knowledge Extension</strong>
-  - [Chapter 8 Memory and Retrieval](./chapter8/Chapter8-Memory-and-Retrieval.md)
-  - [Chapter 9 Context Engineering](./chapter9/Chapter9-Context-Engineering.md)
-  - [Chapter 10 Agent Communication Protocols](./chapter10/Chapter10-Agent-Communication-Protocols.md)
-  - [Chapter 11 Agentic-RL](./chapter11/Chapter11-Agentic-RL.md)
-  - [Chapter 12 Agent Performance Evaluation](./chapter12/Chapter12-Agent-Performance-Evaluation.md)
+  - [Chapter 8 Memory and Retrieval](/en/chapter8/Chapter8-Memory-and-Retrieval.md)
+  - [Chapter 9 Context Engineering](/en/chapter9/Chapter9-Context-Engineering.md)
+  - [Chapter 10 Agent Communication Protocols](/en/chapter10/Chapter10-Agent-Communication-Protocols.md)
+  - [Chapter 11 Agentic-RL](/en/chapter11/Chapter11-Agentic-RL.md)
+  - [Chapter 12 Agent Performance Evaluation](/en/chapter12/Chapter12-Agent-Performance-Evaluation.md)
 
 - <strong>Part IV: Comprehensive Case Studies</strong>
-  - [Chapter 13 Intelligent Travel Assistant](./chapter13/Chapter13-Intelligent-Travel-Assistant.md)
-  - [Chapter 14 Automated Deep Research Agent](./chapter14/Chapter14-Automated-Deep-Research-Agent.md)
-  - [Chapter 15 Building Cyber Town](./chapter15/Chapter15-Building-Cyber-Town.md)
+  - [Chapter 13 Intelligent Travel Assistant](/en/chapter13/Chapter13-Intelligent-Travel-Assistant.md)
+  - [Chapter 14 Automated Deep Research Agent](/en/chapter14/Chapter14-Automated-Deep-Research-Agent.md)
+  - [Chapter 15 Building Cyber Town](/en/chapter15/Chapter15-Building-Cyber-Town.md)
 
 - <strong>Part V: Graduation Project and Future Outlook</strong>
-  - [Chapter 16 Graduation Project](./chapter16/Chapter16-Graduation-Project.md)
+  - [Chapter 16 Graduation Project](/en/chapter16/Chapter16-Graduation-Project.md)
 

+ 0 - 0
docs/Preface.md → docs/en/Preface.md


+ 0 - 1
docs/index.html

@@ -214,7 +214,6 @@
             alias: {
                 // 英文路径映射
                 '/en/README.md': '/README_EN.md',
-                '/en/Preface.md': '/Preface.md',
                 '/en/_sidebar.md': '/_sidebar_en.md',
                 '/en/chapter(\\d+)/Chapter(.*)': '/chapter$1/Chapter$2',