From 3af119a598009cdd73e2abcb53bab621ef978fd1 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Tue, 24 Feb 2026 18:22:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(appendix):=20=E6=B7=BB=E5=8A=A0=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E4=BA=A4=E4=BA=92=E5=BC=8F=E6=BC=94=E7=A4=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=AE=8C=E5=96=84=20AI/Infra=20=E7=AD=89?= =?UTF-8?q?=E7=AB=A0=E8=8A=82=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 Vibe Coding 全栈相关演示组件 (DeveloperSkillShift, FrontendTriad, BackendCore 等) - 新增 RAG 相关组件 (RAGPipeline, ChunkingStrategy, Retrieval 等) - 新增 Embedding & Vector 相关组件 (EmbeddingConcept, VectorSimilarity 等) - 新增 AI Native App 设计组件 (AINativeArch, PromptDesign 等) - 新增 Infrastructure as Code 组件 (IaCConcept, TerraformWorkflow 等) - 新增 DNS & HTTPS 演示组件 (DnsResolution, HttpsHandshake 等) - 新增 Model Finetuning 组件 (FinetuningPipeline 等) - 更新多个章节的 markdown 内容,集成交互式演示 --- docs/.vitepress/config.mjs | 8 + docs/.vitepress/theme/Layout.vue | 4 +- .../theme/components/HomeFeatures.vue | 20 +- .../appendix/ai-native-app/AIAppFlowDemo.vue | 245 ++++ .../ai-native-app/AIDesignPrincipleDemo.vue | 222 ++++ .../ai-native-app/AINativeArchDemo.vue | 237 ++++ .../ai-native-app/AIUXPatternDemo.vue | 301 +++++ .../ai-native-app/PromptDesignDemo.vue | 260 ++++ .../AIvsTraditionalDemo.vue | 373 ++++++ .../computer-fundamentals/BIOSPostDemo.vue | 139 +++ .../computer-fundamentals/BackendCoreDemo.vue | 167 +++ .../computer-fundamentals/BootProcessDemo.vue | 137 +++ .../BrowserArchitectureDemo.vue | 130 ++ .../computer-fundamentals/CareerPathDemo.vue | 286 +++++ .../ComputerFieldMapDemo.vue | 164 +++ .../CpuArchitectureDemo.vue | 1052 ++++++++++++----- .../computer-fundamentals/DesktopDemo.vue | 172 +++ .../DeveloperSkillShiftDemo.vue | 162 +++ .../FrontendFrameworkDemo.vue | 190 +++ .../FrontendTriadDemo.vue | 158 +++ .../computer-fundamentals/FullProcessDemo.vue | 120 ++ .../FullstackSkillDemo.vue | 134 +++ .../LanguageSelectionDemo.vue | 128 ++ .../LearningStrategyDemo.vue | 134 +++ .../computer-fundamentals/MinCpuDemo.vue | 386 ++++++ .../computer-fundamentals/PowerOnDemo.vue | 115 ++ .../ProgrammingLanguageMapDemo.vue | 170 +++ .../computer-fundamentals/RenderingDemo.vue | 131 ++ .../computer-fundamentals/URLRequestDemo.vue | 133 +++ .../dns-https/CertificateChainDemo.vue | 307 +++++ .../dns-https/DnsHttpsComparisonDemo.vue | 391 ++++++ .../appendix/dns-https/DnsRecordTypeDemo.vue | 249 ++++ .../appendix/dns-https/DnsResolutionDemo.vue | 357 ++++++ .../appendix/dns-https/HttpsHandshakeDemo.vue | 298 +++++ .../embedding-vector/EmbeddingConceptDemo.vue | 308 +++++ .../EmbeddingPipelineDemo.vue | 453 +++++++ .../embedding-vector/VectorDatabaseDemo.vue | 401 +++++++ .../embedding-vector/VectorIndexDemo.vue | 443 +++++++ .../embedding-vector/VectorSimilarityDemo.vue | 398 +++++++ .../incident-response/AlertEscalationDemo.vue | 444 +++++++ .../incident-response/IncidentCommandDemo.vue | 356 ++++++ .../IncidentTimelineDemo.vue | 471 ++++++++ .../incident-response/PostmortemDemo.vue | 412 +++++++ .../incident-response/SeverityLevelDemo.vue | 483 ++++++++ .../ConfigDriftDemo.vue | 360 ++++++ .../IaCBestPracticeDemo.vue | 329 ++++++ .../infrastructure-as-code/IaCConceptDemo.vue | 301 +++++ .../IaCToolComparisonDemo.vue | 374 ++++++ .../TerraformWorkflowDemo.vue | 333 ++++++ .../FinetuningPipelineDemo.vue | 333 ++++++ .../appendix/model-finetuning/LoRADemo.vue | 512 ++++++++ .../ModelQuantizationDemo.vue | 345 ++++++ .../model-finetuning/ModelServingDemo.vue | 332 ++++++ .../model-finetuning/TrainingDataDemo.vue | 369 ++++++ .../appendix/rag/ChunkingStrategyDemo.vue | 439 +++++++ .../appendix/rag/RAGArchitectureDemo.vue | 417 +++++++ .../appendix/rag/RAGPipelineDemo.vue | 349 ++++++ .../appendix/rag/RAGvsFineTuningDemo.vue | 409 +++++++ .../components/appendix/rag/RetrievalDemo.vue | 549 +++++++++ docs/.vitepress/theme/index.js | 140 +++ .../algorithm-thinking.md | 17 +- .../computer-networks.md | 2 + .../data-encoding-storage.md | 23 +- .../data-structures.md | 18 +- .../operating-systems.md | 17 +- .../power-on-to-web.md | 452 +++++++ .../programming-languages.md | 19 +- .../transistor-to-cpu.md | 20 +- .../type-systems-compilers.md | 18 +- .../vibe-coding-fullstack.md | 413 +++++++ .../domain-specific-languages.md | 566 +++++++++ .../dns-https.md | 172 ++- .../incident-response.md | 157 ++- .../infrastructure-as-code.md | 172 ++- .../ai-native-app-design.md | 163 ++- .../embedding-vector-retrieval.md | 192 ++- .../model-finetuning-deployment.md | 172 ++- .../appendix/8-artificial-intelligence/rag.md | 162 ++- .../code-quality-refactoring.md | 50 +- .../design-patterns.md | 50 +- .../open-source-collaboration.md | 50 +- .../security-thinking.md | 50 +- .../technical-writing.md | 53 +- .../technology-selection.md | 50 +- .../testing-strategies.md | 48 +- docs/zh-cn/appendix/index.md | 5 + 86 files changed, 20311 insertions(+), 340 deletions(-) create mode 100644 docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/AIvsTraditionalDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/BIOSPostDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/BackendCoreDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/BootProcessDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/BrowserArchitectureDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/CareerPathDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ComputerFieldMapDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DesktopDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/DeveloperSkillShiftDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/FrontendFrameworkDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/FrontendTriadDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/FullProcessDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/FullstackSkillDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LanguageSelectionDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/LearningStrategyDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/MinCpuDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/PowerOnDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/ProgrammingLanguageMapDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/RenderingDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/computer-fundamentals/URLRequestDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/dns-https/CertificateChainDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/dns-https/DnsHttpsComparisonDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/dns-https/DnsRecordTypeDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/dns-https/DnsResolutionDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/dns-https/HttpsHandshakeDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/embedding-vector/EmbeddingConceptDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/embedding-vector/EmbeddingPipelineDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/embedding-vector/VectorDatabaseDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/embedding-vector/VectorIndexDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/embedding-vector/VectorSimilarityDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/incident-response/AlertEscalationDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/incident-response/IncidentCommandDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/incident-response/IncidentTimelineDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/incident-response/PostmortemDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/incident-response/SeverityLevelDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/infrastructure-as-code/ConfigDriftDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/infrastructure-as-code/IaCBestPracticeDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/infrastructure-as-code/IaCConceptDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/infrastructure-as-code/IaCToolComparisonDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/infrastructure-as-code/TerraformWorkflowDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/model-finetuning/FinetuningPipelineDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/model-finetuning/LoRADemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/model-finetuning/ModelQuantizationDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/model-finetuning/ModelServingDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/model-finetuning/TrainingDataDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/rag/ChunkingStrategyDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/rag/RAGArchitectureDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/rag/RAGPipelineDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/rag/RAGvsFineTuningDemo.vue create mode 100644 docs/.vitepress/theme/components/appendix/rag/RetrievalDemo.vue create mode 100644 docs/zh-cn/appendix/1-computer-fundamentals/power-on-to-web.md create mode 100644 docs/zh-cn/appendix/1-computer-fundamentals/vibe-coding-fullstack.md create mode 100644 docs/zh-cn/appendix/4-server-and-backend/domain-specific-languages.md diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index c715cae..2aef869 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -573,6 +573,14 @@ export default defineConfig({ text: '一、计算机是怎么回事', collapsed: false, items: [ + { + text: 'Vibe Coding 时代下的全栈开发', + link: '/zh-cn/appendix/1-computer-fundamentals/vibe-coding-fullstack' + }, + { + text: '从按下电源到访问网站发生了什么', + link: '/zh-cn/appendix/1-computer-fundamentals/power-on-to-web' + }, { text: '从晶体管到 CPU', link: '/zh-cn/appendix/1-computer-fundamentals/transistor-to-cpu' diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 0982dd8..26b3f3c 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -466,7 +466,7 @@ watch(sidebarCollapsed, (collapsed) => { font-size: 18px; font-weight: 500; white-space: pre-wrap; - color: #000000; + color: var(--vp-c-text-2); min-height: 28px; display: flex; /* 居中对齐 */ @@ -488,7 +488,7 @@ watch(sidebarCollapsed, (collapsed) => { margin-right: auto; } .VPHomeHero .text { - color: #000000 !important; + color: var(--vp-c-text-1) !important; } .VPHomeHero .actions { justify-content: center; diff --git a/docs/.vitepress/theme/components/HomeFeatures.vue b/docs/.vitepress/theme/components/HomeFeatures.vue index 9d915cd..cdf9bf3 100644 --- a/docs/.vitepress/theme/components/HomeFeatures.vue +++ b/docs/.vitepress/theme/components/HomeFeatures.vue @@ -1970,7 +1970,7 @@ a { .nav-title { font-weight: 600; font-size: 19px; - color: #000 !important; + color: var(--vp-c-text-1) !important; flex-shrink: 0; letter-spacing: -0.01em; } @@ -1987,7 +1987,7 @@ a { background: none; border: none; font-size: 12px; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; transition: opacity 0.2s; padding: 0; @@ -2000,7 +2000,7 @@ a { .nav-links button:hover, .nav-links button.active, .nav-link-item:hover { - color: #000 !important; + color: var(--vp-c-text-1) !important; opacity: 1; } @@ -2021,7 +2021,7 @@ a { background: none; border: none; padding: 0; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; display: flex; align-items: center; @@ -2038,7 +2038,7 @@ a { background: none; border: none; padding: 0; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; display: flex; align-items: center; @@ -2060,13 +2060,13 @@ a { .button .option-icon { width: 20px; height: 20px; - color: #000 !important; + color: var(--vp-c-text-1) !important; } .button .text-icon { width: 14px; height: 14px; - color: #000 !important; + color: var(--vp-c-text-1) !important; } /* GitHub Stars Styles */ @@ -2076,7 +2076,7 @@ a { } :deep(.nav-github-stars .github-stars-link) { - color: #000 !important; + color: var(--vp-c-text-1) !important; display: flex; align-items: center; gap: 4px; @@ -2134,8 +2134,8 @@ a { } .buy-btn { - background: #000; - color: #fff !important; + background: var(--vp-c-text-1); + color: var(--vp-c-bg) !important; padding: 4px 12px; border-radius: 980px; font-size: 12px; diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue new file mode 100644 index 0000000..2d12671 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue @@ -0,0 +1,245 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue new file mode 100644 index 0000000..5c3f108 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue new file mode 100644 index 0000000..e5bcf5e --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue @@ -0,0 +1,237 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue new file mode 100644 index 0000000..cb249a7 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue @@ -0,0 +1,301 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue new file mode 100644 index 0000000..38b3b5a --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue @@ -0,0 +1,260 @@ +