From 98cbf457f6970ea3a1b27facf8faf07f2782ec14 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Sun, 4 Jan 2026 14:35:18 +0800 Subject: [PATCH] fix --- docs/_sidebar.md | 32 +++++------ docs/index.html | 135 ++++++++++++++++++++++++++++++----------------- 2 files changed, 102 insertions(+), 65 deletions(-) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 9033bbc..577968e 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,22 +1,22 @@ -* [首页](/README.md) +* [首页](README.md) * Project - * [学习地图](/project/chapter0-learning-map/chapter0-learning-map.md) - * [Project 1: 如何构建贪吃蛇游戏](/project/chapter1/chapter1-how-to-build-a-snake-game.md) - * [Project 2: 探索 AI 工具的能力边界](/project/chapter2/chapter2-reach-the-capability-boundaries-of-ai-tools.md) - * [Project 3: Dify 入门与知识库集成](/project/chapter3/chapter3-getting-started-with-dify-and-its-knowledge-base-integration.md) - * [Project 4: 一起做霍格沃茨画像](/project/chapter4/chapter4-lets-build-hogwarts-portraits.md) - * [Project 5: 从数据库到 Supabase](/project/chapter5/chapter5-from-database-to-supabase.md) - * [Project 6: 没有 idea 就没有代码](/project/chapter6/chapter6-no-code-without-an-idea.md) + * [学习地图](project/chapter0-learning-map/chapter0-learning-map.md) + * [Project 1: 如何构建贪吃蛇游戏](project/chapter1/chapter1-how-to-build-a-snake-game.md) + * [Project 2: 探索 AI 工具的能力边界](project/chapter2/chapter2-reach-the-capability-boundaries-of-ai-tools.md) + * [Project 3: Dify 入门与知识库集成](project/chapter3/chapter3-getting-started-with-dify-and-its-knowledge-base-integration.md) + * [Project 4: 一起做霍格沃茨画像](project/chapter4/chapter4-lets-build-hogwarts-portraits.md) + * [Project 5: 从数据库到 Supabase](project/chapter5/chapter5-from-database-to-supabase.md) + * [Project 6: 没有 idea 就没有代码](project/chapter6/chapter6-no-code-without-an-idea.md) * Extra - * [扩展知识 1: 什么是 Git 和 GitHub](/extra/extra1/extra1-what-is-git-and-what-is-github.md) - * [扩展知识 2: 什么是 API](/extra/extra2/extra2-what-is-api.md) - * [扩展知识 3: AI 能力入门手册](/extra/extra3/extra3-ai-capability-starter-handbook.md) - * [扩展知识 4: 什么是 AI IDE 和 Trae](/extra/extra4/extra4-what-is-ai-ide-and-trae.md) - * [扩展知识 5: 什么是 RAG 以及它如何工作](/extra/extra5/extra5-what-is-rag-and-how-does-it-work-and-future.md) - * [扩展知识 6: Zeabur 与 Web 应用部署](/extra/extra6/extra6-zeabur-what-is-it-and-how-to-deploy-web-applications.md) - * [扩展知识 7: 命令行 AI 编程工具介绍](/extra/extra7/extra7-cli-ai-coding-tools-and-the-principles-of-test-driven-development.md) + * [扩展知识 1: 什么是 Git 和 GitHub](extra/extra1/extra1-what-is-git-and-what-is-github.md) + * [扩展知识 2: 什么是 API](extra/extra2/extra2-what-is-api.md) + * [扩展知识 3: AI 能力入门手册](extra/extra3/extra3-ai-capability-starter-handbook.md) + * [扩展知识 4: 什么是 AI IDE 和 Trae](extra/extra4/extra4-what-is-ai-ide-and-trae.md) + * [扩展知识 5: 什么是 RAG 以及它如何工作](extra/extra5/extra5-what-is-rag-and-how-does-it-work-and-future.md) + * [扩展知识 6: Zeabur 与 Web 应用部署](extra/extra6/extra6-zeabur-what-is-it-and-how-to-deploy-web-applications.md) + * [扩展知识 7: 命令行 AI 编程工具介绍](extra/extra7/extra7-cli-ai-coding-tools-and-the-principles-of-test-driven-development.md) * Examples - * [完整实战项目 1: 如何写一个微信小程序](/examples/example1/example1-how-to-build-a-wechat-miniprogram.md) + * [完整实战项目 1: 如何写一个微信小程序](examples/example1/example1-how-to-build-a-wechat-miniprogram.md) diff --git a/docs/index.html b/docs/index.html index fe97db8..573ed79 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,11 @@ Vibe Coding 101 - + + + + + -
+
加载中... (如果长时间未加载,请尝试刷新)
Dark' + : '☀️ Light'; + if (existing.innerHTML !== html) existing.innerHTML = html; + }; + appName.appendChild(existing); + } + + var savedTheme = localStorage.getItem('theme-mode'); + var isDark = savedTheme === 'dark'; + if (isDark) document.body.classList.add('dark-mode'); + else document.body.classList.remove('dark-mode'); + var html = isDark + ? '🌙 Dark' + : '☀️ Light'; + if (existing.innerHTML !== html) existing.innerHTML = html; + } + + // 字数统计位置调整 setTimeout(function () { var section = document.querySelector('.markdown-section'); if (!section) return; @@ -172,18 +201,26 @@ }; - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file