Commit graph

31 commits

Author SHA1 Message Date
5fd453759b add gitignore 2023-11-11 13:49:13 +01:00
546ef63289 rename pricedb to prices 2023-11-11 13:49:00 +01:00
065975d4c2 schemas: relax some number datatypes 2023-11-10 16:44:36 +01:00
a41aa52993 default unit is now piece, not None 2023-11-10 16:43:55 +01:00
d42cb1beee crlf -> lf 2023-11-06 23:55:13 +01:00
15ce2f152f pylint 2023-11-06 23:51:46 +01:00
009a556c32 small cleanup 2023-11-06 23:38:52 +01:00
9264bba243 bugfix: respect unit aliases 2023-11-06 23:33:03 +01:00
dcb566275c Don't show Ingredients/Steps h3 when there are none 2023-11-06 23:32:24 +01:00
347231f013 Simplify 2023-11-06 23:31:05 +01:00
353aee80cb rename parts to subrecipes 2023-11-06 07:41:55 +01:00
6b31462d2c parametrize input/output directory, move out/ 2023-11-06 07:24:36 +01:00
7636923b30 remove now unnecessary type checking 2023-11-06 05:36:57 +01:00
0b97f45a72 error messages for jsonschema validation and return code 2023-11-06 05:30:50 +01:00
2f183c758f validate using jsonschema, not manually 2023-11-06 05:19:36 +01:00
a2cbbb2068 recipes: more complete units.yaml, support parsing of conversions 2023-11-06 03:31:52 +01:00
e950977e05 more readable amounts 2023-11-06 01:04:04 +01:00
c01689f892 don't show part title if there is only one part 2023-11-05 12:44:13 +01:00
59f80f6619 make amounts more readable (1.0 -> 1) 2023-11-05 12:11:53 +01:00
f813ae5ac3 templates: use inheritance 2023-11-05 11:52:10 +01:00
3d3f0b0012 support or in ingredients - ingredient alternatives 2023-11-05 11:51:25 +01:00
87884d9ab3 add output file tracking and remove obsolete files 2023-11-05 11:19:59 +01:00
2bb9aed4a3 use context to hold commonly used instances 2023-11-05 11:05:23 +01:00
2e12ab77a5 simplify a tiny bit 2023-11-05 10:42:09 +01:00
ae02e6de77 templates: better handling of recipes with parts, backlink 2023-11-01 23:52:48 +01:00
4cc0656e88 ingredient aliases 2023-11-01 23:31:22 +01:00
7cf5b7ef29 allow recipe parts 2023-11-01 23:23:50 +01:00
a4064a941d make invalid ingredients/units into warnings 2023-11-01 23:23:33 +01:00
da38086e98 restructure parsing, add pricedb support 2023-11-01 23:01:13 +01:00
89cbf282bd add gitignore 2023-11-01 19:37:35 +01:00
f6d33add17 initial commit 2023-11-01 19:36:58 +01:00