mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
documentation
This commit is contained in:
parent
03197a139f
commit
adbc126ef5
@ -1,10 +1,15 @@
|
|||||||
# Working Todos
|
# Working Todos
|
||||||
|
|
||||||
Frontend
|
Frontend
|
||||||
|
- [ ] .Vue file reorganized into something that makes sense
|
||||||
|
- [ ] Recipe Print Page
|
||||||
- [x] Catch 400 / bad response on create from URL
|
- [x] Catch 400 / bad response on create from URL
|
||||||
- [ ] Recipe Editor Data Validation CLient Side
|
- [ ] Recipe Editor Data Validation CLient Side
|
||||||
- [x] Favicon
|
- [x] Favicon
|
||||||
- [x] Rename Window
|
- [x] Rename Window
|
||||||
|
- [ ] Add version indicator and notification for new version available
|
||||||
|
- [ ] Enhanced Search Functionality
|
||||||
|
- [ ] Organize Home Page my Category, ideally user selectable.
|
||||||
|
|
||||||
Backend
|
Backend
|
||||||
- [x] Add Debug folder for writing the last pulled recipe data to.
|
- [x] Add Debug folder for writing the last pulled recipe data to.
|
||||||
@ -12,11 +17,16 @@ Backend
|
|||||||
- [ ] Normalize Recipe data on scrape
|
- [ ] Normalize Recipe data on scrape
|
||||||
- [ ] Support how to Sections
|
- [ ] Support how to Sections
|
||||||
- [ ] Export Markdown on Auto backups
|
- [ ] Export Markdown on Auto backups
|
||||||
|
- [ ] Recipe request by category/tags
|
||||||
|
- [ ] Add Additional Migrations, See mealie/services/migrations/chowdown.py for examples of how to do this.
|
||||||
|
- [ ] Open Eats [See Issue #4](https://github.com/hay-kot/mealie/issues/4)
|
||||||
|
- [ ] NextCloud [See Issue #14](https://github.com/hay-kot/mealie/issues/14)
|
||||||
|
|
||||||
# Draft Changelog
|
# Draft Changelog
|
||||||
## v0.0.1
|
## v0.0.1
|
||||||
|
|
||||||
General
|
General
|
||||||
|
- Fixed opacity issues with marked steps - [mtoohey31](https://github.com/mtoohey31)
|
||||||
- Updated Favicon
|
- Updated Favicon
|
||||||
- Renamed Frontend Window
|
- Renamed Frontend Window
|
||||||
- Added Debug folder to dump scraper data prior to processing.
|
- Added Debug folder to dump scraper data prior to processing.
|
||||||
|
@ -29,6 +29,18 @@ def pull_repo(repo):
|
|||||||
|
|
||||||
|
|
||||||
def read_chowdown_file(recipe_file: Path) -> Recipe:
|
def read_chowdown_file(recipe_file: Path) -> Recipe:
|
||||||
|
"""Parse through the yaml file to try and pull out the relavent information.
|
||||||
|
Some issues occur when ":" are used in the text. I have no put a lot of effort
|
||||||
|
into this so there may be better ways of going about it. Currently, I get about 80-90%
|
||||||
|
of recipes from repos I've tried.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
recipe_file (Path): Path to the .yml file
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Recipe: Recipe class object
|
||||||
|
"""
|
||||||
|
|
||||||
with open(recipe_file, "r") as stream:
|
with open(recipe_file, "r") as stream:
|
||||||
recipe_description: str = str
|
recipe_description: str = str
|
||||||
recipe_data: dict = {}
|
recipe_data: dict = {}
|
||||||
@ -85,7 +97,6 @@ def chowdown_migrate(repo):
|
|||||||
except:
|
except:
|
||||||
failed_recipes.append(recipe.name)
|
failed_recipes.append(recipe.name)
|
||||||
|
|
||||||
|
|
||||||
report = {"failedImages": failed_images, "failedRecipes": failed_recipes}
|
report = {"failedImages": failed_images, "failedRecipes": failed_recipes}
|
||||||
|
|
||||||
return report
|
return report
|
||||||
|
Loading…
x
Reference in New Issue
Block a user