Anduin Xue and Claude Opus 4.7
09c1fee7a5
Fix #1759 : 量化南派红烧肉与简易炒糖色的模糊变量,消除模块集成Bug
...
- 糖重量量化:50g,附基准比例(每1000g肉:50g糖)
- 操作2歧义修复:明确爆香后必须立刻加400ml开水中止反应
- 操作开头新增高能预警块,提醒提前备料
- 肉块标准化:3cm×3cm×3cm正方体,附收缩后约2.5cm说明
- 补全小葱(30g)、大蒜(25g)重量参数
- 料酒总量声明30ml(焯水20ml+炖煮10ml)
- 辅料重构为A包(去腥)/B包(炖煮),消除B包重复调用Bug
- 修复步骤9-10时序冲突:炒糖色→爆香→下肉翻炒→加水炖煮
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 04:24:36 +00:00
Anduin Xue
2556e9230e
Merge branch 'master' of github.com:Anduin2017/HowToCook
2026-05-12 04:13:23 +00:00
Anduin Xue
5eb97c9d16
Fix #1763
2026-05-12 04:13:16 +00:00
Anduin Xue
1e35f6a604
delete: remove food pairing guide on incompatible ingredients from tips. Fix #1788
2026-05-12 04:10:31 +00:00
Anduin Xue
5f7217b926
chore: update package version to 1.6.0 in package.json and package-lock.json
Continuous Deployment / build-readme-file (push) Has been cancelled
2026-05-11 17:24:41 +00:00
Anduin Xue
a0b14bd388
delete: remove properdocs.yml and update .gitignore to exclude additional files
2026-05-11 14:09:04 +00:00
Anduin Xue
b7c4dabf47
delete: remove 1 to 5 star difficulty category files and associated dish links
2026-05-11 14:06:56 +00:00
Anduin Xue
e1a7e60517
Merge branch 'master' of github.com:Anduin2017/HowToCook
2026-05-11 14:06:07 +00:00
Anduin Xue
16c9dcafc0
refactor: streamline README generation by removing star index section and unused mkdocs references
2026-05-11 14:05:59 +00:00
Anduin Xue
ba1295076a
Merge branch 'master' of github.com:Anduin2017/HowToCook
2026-05-11 12:48:52 +00:00
Anduin Xue
83f6d8f825
Remove difficulty category files for 4, 5, 7, and 8 star dishes, including all associated dish links.
2026-05-11 12:48:42 +00:00
Anduin Xue
c2662846f5
fix: update oil selection guidelines to emphasize proper usage of flaxseed and perilla oils
2026-05-11 12:41:00 +00:00
Anduin Xue
795708d5c4
refactor: simplify Dockerfile by removing unnecessary build stages
2026-05-11 12:39:13 +00:00
Anduin Xue
9e12990647
fix: update oil selection guidelines and cooking recommendations for better health choices
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2026-05-06 18:06:00 +00:00
Anduin Xue and GitHub
c8da0528ae
Update 乡村啤酒鸭.md
2026-05-06 04:13:50 +00:00
Anduin Xue and GitHub
3bc87e94df
Update 乡村啤酒鸭.md
2026-05-06 04:13:28 +00:00
Anduin Xue and Copilot
52bd8d6434
fix: remove minify plugin to resolve build issues
...
The mkdocs-minify-plugin with htmlmin was causing segfaults during the
properdocs build when processing the large i18n file set.
Changes:
- Removed mkdocs-minify-plugin from requirements.txt
- Removed htmlmin2 dependency
- Removed minify plugin from mkdocs_template.yml
- Regenerated properdocs.yml
Verification:
- Docker build: SUCCESS ✓
- Image loading: HTTP 200 ✓
- i18n functionality: Working ✓
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-05 09:26:20 +00:00
Anduin Xue and Copilot
3c89c583ab
fix: copy images to en/ and fix markdown image references
...
Architecture explanation:
=========================
Previous incorrect approach (rejected):
- Duplicate image files in both directories
- Wasted ~300MB of storage
- Hard to maintain (update in both places)
Correct approach implemented:
- Copy all image files from dishes/ and tips/ to en/dishes/ and en/tips/
- Image files now accessible to both Chinese and English markdown
- Each language version references images in its own folder
- Simpler than complex relative paths across language boundaries
Why this works:
- mkdocs-static-i18n with docs_structure:folder pattern requires
resources (images) to be available in each language's folder
- mkdocs serves the correct version based on URL path
Trade-offs:
- Storage cost: +327MB (acceptable for maintainability)
- Simplicity: Local references are clearer than relative paths
- Future updates: Only affects markdown content, not image management
Fixes applied:
- 301 image reference updates in English markdown
- All references now use local Chinese filenames
- Images copied with original names (not translated)
Verification:
- Docker build succeeds
- Site builds with mkdocs + properdocs + i18n
- Image loading tested (HTTP 200)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-05 09:22:18 +00:00
Anduin Xue and Copilot
6f83b5e49d
feat: add image reference validation to lint system
...
Add new image reference validation rule in manual_lint.js:
- Validates that referenced images exist in the file system
- Supports relative paths (./, ../) and skips external URLs
- Reports missing images as lint errors
Fixes found issue:
- dishes/soup/排骨山药玉米汤/排骨山药玉米汤.md: removed missing image
reference './排骨山药玉米汤.jpg'
All lint checks now pass ✅
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-05 09:09:16 +00:00
Anduin Xue and Copilot
e84bd91182
Fix: exclude en/ and site/ from readme/mkdocs auto-generation
...
The i18n migration introduced en/ and site/ directories, which were being
scanned by getAllMarkdown() and incorrectly mixed into the nav generation.
Changes:
- Add 'en' to ignorePaths: prevents 379 English files from polluting nav
- Add 'site' to ignorePaths: prevents built site artifacts from being scanned
The star difficulty system and README/properdocs.yml generation now only
processes Chinese source files (dishes/, tips/) while respecting the i18n
structure:
- README.md: 385 entries (all Chinese), with star difficulty index
- properdocs.yml: 375 nav entries (dishes + tips), Chinese only
- starsystem/: 358 recipes organized by difficulty (1-5 stars)
- i18n plugin: separate /en/ site built by properdocs, not generated by script
Docker build verified: npm run build → node readme-generate.js ✓
properdocs build with i18n: both zh and en locales ✓
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 16:35:11 +00:00
Anduin Xue and Copilot
a21c68aea3
Upgrade Docker base image from python:3.11 to python:3.13
...
python:3.11 causes a segfault when building with properdocs + mkdocs-static-i18n
processing both zh and en locales (379 translated files). python:3.13 matches
the local development environment and resolves the crash.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 15:16:27 +00:00
Anduin Xue and Copilot
ac0dfaab6d
Add English translations for all 379 recipe and tip files
...
Use dotlang AI translation (aiursoft-instruct:latest via Ollama) to
translate all Chinese content to English under en/ subfolder:
- en/dishes/: all recipe categories (aquatic, breakfast, condiment,
dessert, drink, meat_dish, semi-finished, soup, staple, vegetable_dish)
- en/tips/: learn/ and advanced/ cooking guides
- en/README.md, en/CONTRIBUTING.md, en/CODE_OF_CONDUCT.md
The mkdocs-static-i18n plugin (docs_structure: folder) serves Chinese
at the root and English at /en/, with a language switcher in the UI.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 15:11:01 +00:00
Anduin Xue and Copilot
3bb7159bf8
Add English i18n support with mkdocs-static-i18n
...
- Add mkdocs-static-i18n to requirements.txt
- Configure i18n plugin: zh (default) at root, en/ subfolder
- Add language switcher (alternate) in extra config
- Disable navigation.instant (incompatible with i18n switcher)
- Add nav_translations for all category labels in English
- Update readme-generate.js: dish/tip nav entries use path-only
(mkdocs auto-uses page heading = English title for /en/ pages)
- en/ folder to be populated by dotlang translation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 13:42:42 +00:00
Anduin Xue and Copilot
d541fd425d
Rename mkdocs.yml to properdocs.yml, remove --strict flag
...
- Update readme-generate.js to output properdocs.yml instead of mkdocs.yml
- Remove --strict from build command (pre-existing broken links in content)
- Remove legacy mkdocs.yml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 13:25:23 +00:00
Anduin Xue and Copilot
a7d81fa681
Migrate from mkdocs to properdocs
...
- Replace mkdocs-with-pdf + weasyprint with properdocs>=1.6.7
- Add pymdown-extensions for richer markdown support
- Remove heavy apt dependencies (weasyprint, fonts-noto-cjk, wget, unzip)
- Switch build command from 'mkdocs build' to 'properdocs build --strict'
- Update template: add offline plugin, fix palette, add content.code.select/copy
- Add md_in_html, pymdownx.tilde, emoji, mermaid, annotation icon support
- Fix broken icon path material//weather-sunny
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 13:20:03 +00:00
Anduin Xue and Copilot
74314ed468
compress 老式锅包肉.jpg to under 1MB
...
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
Reduced from 2.78MB to 1012KB (quality=55) to pass the lint size check.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-08 06:35:00 +00:00
Anduin Xue and GitHub
fb200c2ec8
Update readme_template.md
2026-04-06 05:29:12 +00:00
Anduin Xue and GitHub
64ed9b7156
Update 土豆炖排骨.md ( #1774 )
...
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
* Update 土豆炖排骨.md
* Update 土豆炖排骨.md
* Update 土豆炖排骨.md
* Update 土豆炖排骨.md
2026-03-21 04:45:29 +00:00
Anduin Xue and GitHub
c9368aed1c
Add storage tip for cooked noodles
...
Add note about storing cooked noodles in the fridge to prevent residual heat.
2026-03-19 17:36:22 +00:00
Anduin Xue and GitHub
a9d3979771
Update 炒方便面.md
2026-03-19 17:34:43 +00:00
Anduin Xue and GitHub
3d4c7689b7
Update 地三鲜.md
2026-03-19 12:34:24 +00:00
Anduin Xue and GitHub
c8e959817c
Revise ingredient amounts and cooking instructions ( #1772 )
...
* Revise ingredient amounts and cooking instructions
Updated ingredient quantities and cooking steps for better clarity and accuracy.
* Update 地三鲜.md
2026-03-19 11:43:24 +00:00
Anduin Xue and GitHub
65c894f609
Update readme_template.md ( #1685 )
2026-03-15 09:05:52 +00:00
Anduin Xue and GitHub
d83cd4d933
Update readme_template.md
2026-02-12 15:30:38 +00:00
Anduin Xue and GitHub
d8ea52dfee
Update 如何选择现在吃什么.md
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-12-09 16:17:55 +00:00
Anduin Xue
d2bc7eb3f7
chore: remove unused file
2025-12-09 16:09:54 +00:00
Anduin Xue and GitHub
e4b270735e
Update readme_template.md
2025-12-04 17:04:38 +00:00
Anduin Xue and GitHub
e167ad266e
回滚4星
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-11-18 06:52:12 +00:00
Anduin Xue and GitHub
7292fab742
测试为什么这个菜难度成了8星
2025-11-18 06:51:15 +00:00
Anduin Xue and GitHub
c799daa932
Patch domain
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-10-28 11:30:11 +00:00
Anduin Xue and GitHub
ce75f64a07
Fix PDF download link in readme template
...
Updated the PDF download link from cook.aiursoft.cn to cook.aiursoft.com.
2025-10-28 11:28:57 +00:00
Anduin Xue and GitHub
930fdef567
Update readme_template.md
2025-10-17 08:07:55 +00:00
Anduin Xue
10ac8acc5b
fix: update file paths in manual_lint.js and correct recipe details in various markdown files
2025-09-20 16:01:08 +00:00
Anduin Xue and GitHub
6fb7bcad87
Fix glob paths in manual_lint.js
2025-09-20 15:55:39 +00:00
Anduin Xue and GitHub
547b2dc922
Revise 煎烤羊排 recipe with detailed instructions
...
Updated the recipe for 煎烤羊排 to include detailed ingredients, cooking steps, and tips.
2025-09-20 15:30:47 +00:00
Anduin Xue and GitHub
1b7b8a8e09
Update 煎烤羊排.md
2025-09-20 15:28:19 +00:00
Anduin Xue and GitHub
11bbcff264
Update 无厨师机蜂蜜面包.md Fix #1640
2025-07-04 05:27:17 +00:00
Anduin Xue and GitHub
ff1b604ac8
Move a dish.
2025-06-30 04:30:31 +00:00
Anduin Xue
0c9bf2b682
Implement code changes to enhance functionality and improve performance
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-06-15 11:29:03 +00:00
Anduin Xue
267eee040b
Bump version to 1.5.0 in package.json
2025-06-15 11:28:22 +00:00
Anduin Xue and GitHub
a737675a0f
Update readme_template.md
2025-06-14 05:24:56 +00:00
Anduin Xue and GitHub
d3f21a15fb
Update readme_template.md
2025-05-06 09:58:59 +00:00
Anduin Xue and GitHub
98e00a9ae5
Update readme_template.md
2025-05-06 09:57:48 +00:00
Anduin Xue and GitHub
b386807956
Update readme_template.md
Continuous Deployment / build-docker-image (push) Has been cancelled
Continuous Deployment / build-readme-file (push) Has been cancelled
2025-04-28 06:14:12 +00:00
Anduin Xue and GitHub
1e75b6508a
Update 黄焖鸡.md
Continuous Deployment / build-docker-image (push) Has been cancelled
Continuous Deployment / build-readme-file (push) Has been cancelled
2025-04-24 14:43:36 +00:00
Anduin Xue
656b420a06
Add cooking difficulty validation to manual linting script
Continuous Deployment / build-readme-file (push) Waiting to run
Continuous Deployment / build-docker-image (push) Blocked by required conditions
2025-04-24 06:29:54 +00:00
Anduin Xue and GitHub
9b774c4f16
Update readme_template.md
2025-04-24 05:48:21 +00:00
Anduin Xue and GitHub
d29df6b3aa
Update build.yml
2025-04-23 11:36:51 +00:00
Anduin Xue and GitHub
584bc5b6bc
Update build.yml to checkout with lfs
2025-04-23 11:35:51 +00:00
Anduin Xue
358cf98993
测试 LFS 迁移。
2025-04-23 10:32:32 +00:00
Anduin Xue and GitHub
9c0a35a13c
Update 清蒸鳜鱼.md 为三星难度。
2025-04-21 16:27:48 +00:00
Anduin Xue
8b6e1915a3
压缩图片
2025-04-20 14:36:41 +00:00
Anduin Xue
91aa93623b
Compress photos
2025-04-20 14:02:13 +00:00
Anduin Xue
aeb7dbfe47
Fix links to油温判断技巧 in beef steak recipe
2025-04-20 12:57:56 +00:00
Anduin Xue
676675f968
Merge branch 'master' of github.com:Anduin2017/HowToCook
2025-04-20 12:47:39 +00:00
Anduin Xue
4250125741
Add check for files without extensions in manual linting script
2025-04-20 12:47:35 +00:00
Anduin Xue
221331cc94
Replace 松仁玉米 recipe with an updated version
2025-04-20 12:45:53 +00:00
Anduin Xue
2e9937c9b5
添加文件大小检查,确保文件不超过1MB限制,并提示用户压缩或分割文件。
2025-04-20 12:39:16 +00:00
Anduin Xue
f10a815d84
压缩菜谱中超过1MB的图片。
2025-04-20 12:32:09 +00:00
Anduin Xue
4c51800bfd
压缩一些过大的图片。
2025-04-20 12:23:15 +00:00
Anduin Xue
c79e497850
删除鸣谢。不知道为什么它会影响pdf的生成。
2025-04-20 12:10:51 +00:00
Anduin Xue and GitHub
9f3eb9bafc
Update 如何选择现在吃什么.md
2025-04-19 07:34:53 +00:00
Anduin Xue and GitHub
ff51d9fae6
Update readme_template.md
2025-04-19 07:03:36 +00:00
Anduin Xue and GitHub
bb59239e73
Update 糖醋排骨.md Fix #1439 ( #1454 )
...
* Update 糖醋排骨.md Fix #1439
* Update 糖醋排骨.md
* Remove comments and adjust formatting in recipe
2025-04-18 09:25:45 +00:00
Anduin Xue and GitHub
c423721541
Update 老式锅包肉.md Fix #1457 ( #1458 )
2025-04-17 10:37:37 +00:00
Anduin Xue and GitHub
0a2439f823
“搭建环境”更适合描述做菜前的准备。
2025-04-17 09:44:43 +00:00
Anduin Xue and GitHub
9366954cdd
Update Dockerfile to use node 22
2025-04-16 05:44:04 +00:00
Anduin Xue and GitHub
bf5928ddbc
Update build.yml use setup-node@v4
2025-04-16 05:42:50 +00:00
Anduin Xue and GitHub
3618b4a91b
Update build.yml use setup-node@v4
2025-04-16 05:42:40 +00:00
Anduin Xue and GitHub
a035c61241
Update ci.yml use node 22
2025-04-16 05:40:40 +00:00
Anduin Xue and GitHub
ef00aa551b
Update ci.yml use node 22
2025-04-16 05:40:29 +00:00
Anduin Xue and GitHub
1589014b74
Update 鸡蛋火腿炒黄瓜.md
2025-04-04 05:58:19 +00:00
Anduin Xue and GitHub
16e6b447b0
Update Dockerfile
2025-03-26 02:44:56 +00:00
Anduin Xue and GitHub
9354cf31cc
更新 Readme,毕竟这年头不隔离了。。
2025-03-20 17:02:19 +00:00
Anduin Xue and GitHub
055916954f
Delete dishes/aquatic/芥末黄油罗氏虾.md Fix #1418
2025-03-15 07:16:44 +00:00
Anduin Xue
b6d5054570
Merge branch 'master' of github.com:Anduin2017/HowToCook
2025-01-18 12:19:37 +00:00
Anduin Xue
8078b546ba
Add validation to manual_lint.js to check for spaces in filenames
2025-01-18 12:19:33 +00:00
Anduin Xue
a128e48340
Rename 肉蛋盖饭 recipe file and remove extra space in title
2025-01-18 12:18:21 +00:00
Anduin Xue
10c55fb0b5
Remove 红柚蛋糕 recipe and restructure file organization
2025-01-18 12:09:21 +00:00
Anduin Xue
88238422e0
Fix 广式萝卜牛腩 难度为0的bug。
2025-01-17 16:39:14 +00:00
Anduin Xue and GitHub
9b329686de
Update 广式萝卜牛腩.md Fix #1400
2024-12-16 07:31:15 +00:00
Anduin Xue and GitHub
b6a8bec38d
Update 手工水饺.md 不建议盖盖子 ( #1394 )
...
* Update 手工水饺.md 不建议盖盖子
* Update 手工水饺.md
2024-12-04 06:34:59 +00:00
Anduin Xue and GitHub
154b4d1eba
简化老式锅包肉的文法 ( #1392 )
...
* 简化老式锅包肉的文法
* Update 老式锅包肉.md
* Update 老式锅包肉.md
2024-11-25 09:25:42 +00:00
Anduin Xue and GitHub
f28399d5f0
Update 炒年糕.md Fix #1382
2024-10-24 08:27:35 +00:00
Anduin Xue and GitHub
d5fc924ffb
Update 牛奶燕麦.md Fix #1143
2024-10-24 08:25:36 +00:00
Anduin Xue and GitHub
9f73398e91
Update 广式萝卜牛腩.md
2024-09-17 07:28:53 +00:00
Anduin Xue
40cf9b17a8
Show verbose log for npm install for easier debugging.
2024-08-01 12:33:08 +00:00
Anduin Xue and GitHub
611256987c
Update Dockerfile
2024-07-22 06:03:29 +00:00
Anduin Xue and GitHub
09fdd9c377
Update 食品安全.md to fix #1355
2024-07-06 05:03:40 +00:00
Anduin Xue and GitHub
1fc1e7d5fc
Update 炒方便面.md
2024-06-24 16:37:54 +00:00