Files
HowToCook/en/dishes/staple/鲣鱼海苔玉米饭/鲣鱼海苔玉米饭.md
Anduin Xue 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

1.3 KiB
Raw Blame History

Recipe for Bonito Flakes and Seaweed Corn Rice

Example Dish

Air Fryer Lamb Chops (Super Lazy Version) Taste is decent, largely dependent on the quality of the lamb chops.

  • Total Cooking Time: 40 minutes (Prep: 3 minutes + Rice Cooking: 40 minutes + Mixing: 2 minutes)
  • Actual Active Time: 5 minutes

Estimated Difficulty: ★★

Essential Ingredients and Tools

  • Essential: Northeast Rice (Jinlongyu brand, 30 RMB for 5kg is fine; Mijia IH Rice Cooker is recommended. The tutorial uses the Mijia Mini Rice Cooker. Pressure cookers are not recommended for cooking rice.)
  • Essential: Bonito Flakes and Seaweed Crumbles (Available on JD and Taobao; search for "Japanese Rice Seasoning")
  • Essential: Corn Kernels (Search "Corn Kernels Ready-to-Eat" on Taobao)

Measurements

  • Bonito Flakes and Seaweed Crumbles: 20g
  • Corn Kernels: 80g/pack

Instructions

  • Serve the rice, add the corn kernels, and mix well.
  • Sprinkle the bonito flakes and seaweed crumbles on top.

Additional Tips

  • If using a Mijia Mini Rice Cooker to cook Northeast rice, ensure the water level is about 3mm above the rice. Too much water will result in mushy rice rather than distinct grains.

If you encounter any issues or have suggestions for improvement while following this guide, please submit an Issue or Pull Request.