From 8b5c479b930a07a846a924b13d1b38701acb0f18 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Thu, 18 Sep 2025 14:15:40 +0000 Subject: [PATCH 1/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20HowToCook=20=E7=9A=84?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd41d80..c9305fc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ 文字超大段copy自[《老乡鸡菜品溯源报告》](https://www.lxjchina.com.cn/display.asp?id=4226),有编辑与整理 -指路隔壁 [How To Cook](https://cook.aiurs.co/) +指路隔壁 [How To Cook](https://cook.aiursoft.cn/) 至于为什么仓库名要叫CookLikeHOC,因为直接写Laoxiangji大概不方便阅读,而Home Original Chicken是china daily报道中所使用的老乡鸡的英文名,故简写成HOC。 From c85a8a3958b5c62f106f66b1030c73175a0b23f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=B7=E9=9B=A8=E5=A4=B4=E4=B8=8A=E6=8F=92=E7=9D=80?= =?UTF-8?q?=E8=96=84=E8=8D=B7=F0=9F=8D=80?= Date: Fri, 19 Sep 2025 01:59:48 +0800 Subject: [PATCH 2/7] Update README with project disclaimer and wording changes Added a disclaimer about the repository's relationship with the brand and updated the wording in the new updates section. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c9305fc..304b4ab 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,13 @@ # 像老乡鸡那样做饭 +[**一些说明**](https://github.com/Gar-b-age/CookLikeHOC/issues/26) + +仓库主体部分于2024年完工,和2025年10月份的舆论事件无关。截止提交时,仓库的贡献者们与老乡鸡的唯一关系只有消费者和商家的关系。本仓库和老乡鸡官方无关。如果有任何问题或意见建议,欢迎指出 + **新更新** -- 炖菜部分已上线部分由ai配图的菜品,欢迎大家来贡献实拍图 +- 炖菜已上线部分由ai配图的菜品,但更欢迎大家来贡献实拍图 - 现已上线网页端,[点击访问](https://cooklikehoc.soilzhu.su) From 1dda10020bb386436a2c23e51570393ebbdbbe17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=B7=E9=9B=A8=E5=A4=B4=E4=B8=8A=E6=8F=92=E7=9D=80?= =?UTF-8?q?=E8=96=84=E8=8D=B7=F0=9F=8D=80?= Date: Fri, 19 Sep 2025 02:02:30 +0800 Subject: [PATCH 3/7] Update README to clarify repository's status Clarified the relationship between the repository and the brand. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 304b4ab..86eb327 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [**一些说明**](https://github.com/Gar-b-age/CookLikeHOC/issues/26) -仓库主体部分于2024年完工,和2025年10月份的舆论事件无关。截止提交时,仓库的贡献者们与老乡鸡的唯一关系只有消费者和商家的关系。本仓库和老乡鸡官方无关。如果有任何问题或意见建议,欢迎指出 +仓库主体部分于2024年完工,和2025年10月份的舆论事件无关。截止提交时,仓库的贡献者们与老乡鸡的唯一关系只有消费者和商家的关系。本仓库不是老乡鸡的官方仓库。如果有任何问题或意见建议,欢迎指出 **新更新** From 3ae34ac79b5ad2ae29c39953cf439a319b565a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=B7=E9=9B=A8=E5=A4=B4=E4=B8=8A=E6=8F=92=E7=9D=80?= =?UTF-8?q?=E8=96=84=E8=8D=B7=F0=9F=8D=80?= Date: Fri, 19 Sep 2025 03:24:08 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86eb327..2d54b6a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [**一些说明**](https://github.com/Gar-b-age/CookLikeHOC/issues/26) -仓库主体部分于2024年完工,和2025年10月份的舆论事件无关。截止提交时,仓库的贡献者们与老乡鸡的唯一关系只有消费者和商家的关系。本仓库不是老乡鸡的官方仓库。如果有任何问题或意见建议,欢迎指出 +仓库主体部分于2024年完工,和2025年9月份的舆论事件无关。截止提交时,仓库的贡献者们与老乡鸡的唯一关系只有消费者和商家的关系。本仓库不是老乡鸡的官方仓库。如果有任何问题或意见建议,欢迎指出 **新更新** From e570f3594a25849201c8ae6c06583496f79cac6c Mon Sep 17 00:00:00 2001 From: Yao Siqian <2229561981@qq.com> Date: Sun, 21 Sep 2025 05:26:24 +0000 Subject: [PATCH 5/7] fix(nav): section.nav_link -> README.md --- .vitepress/navSidebar.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.vitepress/navSidebar.ts b/.vitepress/navSidebar.ts index 5b40a5c..e21f26e 100644 --- a/.vitepress/navSidebar.ts +++ b/.vitepress/navSidebar.ts @@ -42,7 +42,7 @@ export function generateNavAndSidebar(rootDir: string) { for (const dir of sections) { const abs = path.join(rootDir, dir) - const files = fs + const files = fs .readdirSync(abs) .filter((f) => isMarkdown(path.join(abs, f))) .sort(sortByPinyinOrName) @@ -50,9 +50,12 @@ export function generateNavAndSidebar(rootDir: string) { // Build sidebar for this section const items: SidebarItem[] = files.map((f) => ({ text: titleFromName(f), - link: `/${encodeURI(dir)}/${encodeURI(f)}`, + link: `/${encodeURI(dir)}/${encodeURI(f)}`, })) + // Find README.md、readme.md、index.md + const readme = ['README.md', 'readme.md', 'index.md'].find((n) => fs.existsSync(path.join(abs, n))) + if (items.length > 0) { sidebar[`/${dir}/`] = [ { @@ -60,11 +63,12 @@ export function generateNavAndSidebar(rootDir: string) { items, }, ] - - // First doc becomes nav link for section - nav.push({ text: dir, link: items[0].link! }) + if (readme) { + nav.push({ text: dir, link: `/${encodeURI(dir)}/${encodeURI(readme)}` }) + } else { + nav.push({ text: dir, link: items[0].link! }) + } } else { - // Empty section: still show in nav to directory index if exists nav.push({ text: dir, link: `/${encodeURI(dir)}/` }) } } From 4e9c909e5a9ed333b40db3f907c305015e074e05 Mon Sep 17 00:00:00 2001 From: Yao Siqian <2229561981@qq.com> Date: Sun, 21 Sep 2025 05:33:38 +0000 Subject: [PATCH 6/7] fix(index.md) start -> README.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index 5754f3f..dd2ba9d 100644 --- a/index.md +++ b/index.md @@ -7,7 +7,7 @@ hero: actions: - theme: brand text: 开始浏览 - link: /炒菜/菠萝咕咾肉 + link: /炒菜/README - theme: alt text: GitHub link: https://github.com/Gar-b-age/CookLikeHOC From a6ce568319d4f95074fa25fa3840e0ee2ebfb82b Mon Sep 17 00:00:00 2001 From: Yao Siqian <2229561981@qq.com> Date: Sun, 21 Sep 2025 17:10:29 +0800 Subject: [PATCH 7/7] =?UTF-8?q?fix(=E6=97=A9=E9=A4=90):=20`=E5=A5=B6?= =?UTF-8?q?=E9=BB=84=E9=B8=A1=E5=8C=85`=E4=B8=8E`=E8=8D=A0=E8=8F=9C?= =?UTF-8?q?=E9=B2=9C=E8=82=89=E8=92=B8=E9=A5=BA`=E8=8F=9C=E5=93=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 早餐/奶黄鸡包.md | 7 +++++++ 早餐/荠菜鲜肉蒸饺.md | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 早餐/奶黄鸡包.md diff --git a/早餐/奶黄鸡包.md b/早餐/奶黄鸡包.md new file mode 100644 index 0000000..fd6183f --- /dev/null +++ b/早餐/奶黄鸡包.md @@ -0,0 +1,7 @@ +# 奶黄鸡包 + +## 配料 +- 奶黄鸡包(小麦粉、玉米粉、鸡蛋、白砂糖等)(来自郑州千味央厨) + +## 步骤 +- 蒸柜上汽后,蒸制 8 分钟。 \ No newline at end of file diff --git a/早餐/荠菜鲜肉蒸饺.md b/早餐/荠菜鲜肉蒸饺.md index 0142cb0..5c3870b 100644 --- a/早餐/荠菜鲜肉蒸饺.md +++ b/早餐/荠菜鲜肉蒸饺.md @@ -1,7 +1,7 @@ # 荠菜鲜肉蒸饺 ## 配料 -- 奶黄鸡包(来自郑州千味央厨) +- 荠菜鲜肉蒸饺(小麦粉、猪肉、荠菜、盐、鸡精等)(来自郑州千味央厨、山东康喜) ## 步骤 -- 蒸柜上汽后,蒸制 8 分钟。 \ No newline at end of file +- 蒸柜上汽后,蒸制 10 分钟。 \ No newline at end of file