mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-05-19 05:41:25 +08:00
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>
85 lines
6.0 KiB
Markdown
85 lines
6.0 KiB
Markdown
<!-- This is a sample recipe template file from the HowToCook repository. -->
|
|
<!-- Note: When writing, there must be exactly one space between Chinese characters and English letters or numbers. -->
|
|
<!-- Note: When writing, there must be exactly one blank line between the title and the body text. -->
|
|
|
|
# How to Make the Sample Dish
|
|
|
|
<!-- The title must be in the format `Dish Name` + `'s Recipe'`. It should match the file name. -->
|
|
|
|
<!-- It is better to include images. -->
|
|
|
|

|
|
|
|
<!-- Briefly introduce the dish's characteristics, nutritional value, difficulty level, and estimated preparation time here. -->
|
|
The Sample Dish is a simple and easy-to-make dish. It is rich in DHA and protein. Beginners can complete it in about 3 hours. It also has beauty benefits!
|
|
|
|
<!--
|
|
1 Star: No particularly difficult steps. Simply mix and cook the ingredients. Can be completed in about 5 minutes. Even those without cooking experience can achieve decent results by following the steps.
|
|
2 Stars: The steps are very simple. Little cooking experience is needed; just follow the steps. Can be completed in about 10 minutes. Even those without cooking experience can achieve decent results by following the steps, but achieving perfect results requires some practice.
|
|
3 Stars: The steps are not too complex. Requires some cooking experience and the ability to master techniques related to heat control, timing, and ingredient combinations. Can be completed in about 15 minutes. It is not too difficult for experienced cooks, but achieving perfect results still requires experience and practice.
|
|
4 Stars: Contains many complex steps. Requires precise mastery of heat control, timing, and ingredient combinations. Can be completed within 40 minutes. Even experienced cooks need to spend considerable time preparing this dish, but once熟练, it yields very delicious results.
|
|
5 Stars: Contains many complex steps. Requires precise mastery of heat control, timing, and ingredient combinations. May take more than 40 minutes to complete. Even experienced cooks need to spend considerable time preparing this dish, and mistakes are very easy to make.
|
|
-->
|
|
|
|
Estimated Cooking Difficulty: ★★★★
|
|
|
|
## Essential Ingredients and Tools
|
|
|
|
<!-- List the necessary ingredients here to help others quickly determine if they have enough materials on hand. -->
|
|
|
|
<!-- Note: Some ingredients have already been mentioned in the Kitchen Purchasing section. Do not repeat them here: -->
|
|
<!-- Gas stove, Drinking water, Pot, Cooking oil, Bowls and plates, Chopsticks, Spatula, Detergent, Cleaning cloth, Steel wool, Kitchen knife -->
|
|
|
|
<!-- You can recommend specific brands to facilitate decision-making. -->
|
|
|
|
- Curry roux (Recommended brand: S&B)
|
|
- Potatoes
|
|
- Rattan pepper oil (optional)
|
|
|
|
## Calculation
|
|
|
|
<!-- This section introduces some calculation formulas to determine the quantity of raw materials, important time parameters, and mixing ratios, for reference in subsequent operations. -->
|
|
|
|
<!-- There are two scenarios here: -->
|
|
<!-- 1. Large-batch cooking. For example: a cafeteria preparing tomato and egg stir-fry, rice, and rice porridge for all students. In this case, calculation formulas must be provided. -->
|
|
<!-- 2. Dishes with fixed portions. Each serving has a consistent volume that never changes. In this case, the quantity for one serving must be specified. -->
|
|
|
|
Before each preparation, determine how many servings to make. One serving is exactly enough for 2 people.
|
|
|
|
Per serving:
|
|
|
|
<!-- For ingredients of varying sizes, a mass reference must be provided. -->
|
|
<!-- For ingredients where the amount can be adjusted to taste, a suggested range must be provided. -->
|
|
<!-- Do not use containers of varying sizes as units! This causes confusion and hinders future precision. Use milliliters! -->
|
|
|
|
- Curry roux blocks: 115g
|
|
- Potatoes: 2 pieces (each potato weighs approximately 120g, totaling approximately 240g)
|
|
- Cooking oil: 10-15ml
|
|
|
|
## Instructions
|
|
|
|
<!-- Describe the entire cooking process in detail here. -->
|
|
<!-- Imprecise terms such as `appropriate amount`, `small amount`, `medium amount`, or `proper amount` are not allowed. -->
|
|
<!-- If the ingredient being operated on is only a "part" of the ingredients rather than "all ingredients," this must be explicitly stated. Otherwise, it defaults to all raw materials. For example, "potatoes" here refers to "all prepared potatoes." -->
|
|
|
|
- Peel the potatoes and cut them into large chunks no larger than 4cm; set aside
|
|
- Chop the curry roux blocks to increase surface area and accelerate dissolution; set aside
|
|
- Heat the pan and add 10ml - 15ml of cooking oil. Wait 10 seconds to raise the oil temperature
|
|
- Add the potatoes and stir-fry until the potatoes *become soft* (you can verify this with chopsticks) <!-- Do not include any ingredients in the process description that were not mentioned in the previous text or the ingredient list. -->
|
|
- Add water to cover all ingredients. Once boiling, reduce the heat and **wait for 15 - 20 minutes** <!-- For ingredients where the amount can be adjusted to taste, a suggested range must be provided. -->
|
|
- Turn off the heat, add the curry, and stir until the curry melts <!-- For any step requiring waiting, provide a `waiting time calculation formula` or `criteria for determining when a step is complete`. -->
|
|
- Turn the heat back on and **stir slowly for 10 minutes** to prevent sticking to the bottom of the pan
|
|
- Turn off the heat and serve when the appearance *becomes viscous*
|
|
|
|
## Additional Notes
|
|
|
|
<!-- Supplement with additional notes, references, safety instructions, etc., here. -->
|
|
|
|
- During operation, pay attention to observing the water level of the boiling water. If the food is found to be below the 2/3 mark, add hot water until the food is fully submerged.
|
|
- Reference: [Weibo video of World Cuisine Tutorial](http://t.cn/EJ77yFy)
|
|
|
|
<!-- The following text must be preserved. -->
|
|
If you encounter any issues or identify areas for improvement while following the production process outlined in this guide, please submit an Issue or Pull request.
|
|
|
|
<!-- Before submitting the Pull Request, please remove all comments from the template. -->
|