From 163f5cacab83f16830798a92441d60f1ff56a61e Mon Sep 17 00:00:00 2001 From: gamerdonkey Date: Thu, 11 Sep 2025 05:19:49 +0000 Subject: [PATCH] Update readme for renames --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 63212ee..138aa45 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ Store recipes in a nerdy JSON tree format and use that to generate [Cooking for Right now this project is just a set of scripts. -## `make_tree.py` +## Requirements + +These scripts require the `anytree` Python library. + +## `create_recipe_json.py` This is a fairly naive script that walks you through the process of turning a recipe into a tree structure. It has you list out ingredients, and then add tasks to perform on those ingredients. You end up with a tree that is something like this: @@ -26,10 +30,10 @@ shake and grill for 20 more mins Leaves are raw ingredients, other nodes are tasks. The tree is output to a JSON file. -## `output_html.py` +## `recipe_json_to_html.py` -This script takes that JSON file and does a recursive depth-first search to render an HTML-table-based recipe card. +This script takes that JSON file and does a recursive depth-first search to render a webpage with an HTML-table-based recipe card. ## Known Issues -- A single node cannot have multiple done on it. So this cannot represent, for example, mixing brown sugar and cinnamon, then splitting that mixture up and doing separate subsequent operations with the two batches. +- A single node cannot have multiple tasks done on it (nerdy reason: because a node cannot have two parents). So this cannot represent, for example, mixing cinnamon and sugar, then splitting that mixture up and doing separate subsequent operations with the two batches.