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

48 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# How to Make Spaghetti Bolognese
![Finished Dish](./final.jpg)
Spaghetti Bolognese is a very easy dish to prepare. Once you get the hang of it, you can make it in under 15 minutes, saying goodbye to instant noodles forever.
Estimated Cooking Difficulty: ★
## Essential Ingredients and Tools
- Spaghetti
- Spaghetti Sauce (Bolognese Sauce)
- Ground Meat
- White Onion (Purple onion also works)
## Quantities
Determine how many servings you want to make before starting. One serving is enough for 2 people.
Per serving:
- Spaghetti: 180g (adjust according to appetite)
- Ground Meat: 80g (adjust according to appetite)
- Onion: About half a large onion (approx. 150g, typically twice the weight of the meat)
- Spaghetti Sauce: 300g (adjust as needed)
- Cooking Oil: 10-15ml
## Instructions
- Add water to a pot and bring it to a boil. Then add the spaghetti (cook for 612 minutes).
- While the water is heating up, you can prepare the sauce, but keep an eye on the pasta cooking time.
- Dice the onion.
- Heat oil in a pan over medium heat and add the diced onion.
- Stir constantly to prevent the onion from burning until it becomes translucent.
- Add the ground meat and continue stirring (breaking it up) until the meat turns brown.
- Add the spaghetti sauce and stir briefly.
- Drain the cooked spaghetti and mix it with the sauce (or simply pour the sauce directly over the pasta).
## Additional Notes
- Spaghetti comes in various thicknesses. Check the cooking time indicated on the pasta package before cooking.
- Spaghetti sauce is not ketchup. The ketchup used in daily life is accurately called "ketchup," while spaghetti sauce, although both are seasoned tomato-based sauces, uses different seasonings.
![Different Types of Pasta](./sauce.jpg)
![Spaghetti Sauce](./spaghetti.jpg)
If you encounter any issues or have suggestions for improvement while following this guide, please open an Issue or submit a Pull request.