Remove difficulty category files for 4, 5, 7, and 8 star dishes, including all associated dish links.

This commit is contained in:
Anduin Xue
2026-05-11 12:48:42 +00:00
parent c2662846f5
commit 83f6d8f825
854 changed files with 8 additions and 24167 deletions

View File

@@ -1,142 +0,0 @@
site_name: How To Cook
# Repository
repo_name: Anduin2017/HowToCook
repo_url: https://github.com/Anduin2017/HowToCook
edit_uri: ""
use_directory_urls: true
docs_dir: .
theme:
font: false
name: material
language: zh
features:
- content.code.annotate
- content.code.select
- content.code.copy
# - content.tabs.link
# - header.autohide
# - navigation.expand
# - navigation.indexes
# - navigation.instant # Incompatible with mkdocs-static-i18n language switcher
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.footer
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
search_index_only: true
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
extra:
alternate:
- name: 简体中文
link: /zh/
lang: zh
- name: English
link: /en/
lang: en
icon:
annotation: material/arrow-right-circle
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: octicons/squirrel-16
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
markdown_extensions:
- md_in_html
- admonition
- pymdownx.details
- pymdownx.superfences
- abbr
- pymdownx.snippets
- pymdownx.tilde
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
plugins:
- i18n:
docs_structure: folder
fallback_to_default: true
reconfigure_material: true
languages:
- locale: zh
default: true
name: 简体中文
build: true
- locale: en
name: English
build: true
nav_translations:
做菜之前: Before You Cook
菜谱: Recipes
按种类: By Category
素菜: Vegetarian Dishes
荤菜: Meat Dishes
水产: Seafood
早餐: Breakfast
主食: Staple Foods
半成品加工: Semi-finished Products
汤与粥: Soups & Porridge
饮料: Beverages
酱料和其它材料: Sauces & Seasonings
甜品: Desserts
进阶知识学习: Advanced Knowledge
- offline
- same-dir
- search
nav:
- README.md
- 做菜之前:
{{before}}
- 菜谱:
- 按种类: # 只有两层section以上才能出现navigation expansion https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections
{{main}}
- 进阶知识学习:
{{after}}
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md

View File

@@ -1,12 +1,10 @@
# 程序员做饭指南
[![build](https://github.com/Anduin2017/HowToCook/actions/workflows/build.yml/badge.svg)](https://github.com/Anduin2017/HowToCook/actions/workflows/build.yml)
[![License](https://img.shields.io/github/license/Anduin2017/HowToCook)](./LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/Anduin2017/HowToCook)](https://github.com/Anduin2017/HowToCook/graphs/contributors)
[![npm](https://img.shields.io/npm/v/how-to-cook)](https://www.npmjs.com/package/how-to-cook)
[![Man hours](https://manhours.aiursoft.com/r/github.com/Anduin2017/HowToCook.svg)](https://manhours.aiursoft.com/r/github.com/Anduin2017/HowToCook.html)
[![Docker](https://img.shields.io/badge/docker-latest-blue?logo=docker)](https://github.com/Anduin2017/HowToCook/pkgs/container/how-to-cook)
[![Join the AnduinOS Community on Revolt](https://img.shields.io/badge/Revolt-Join-fd6671?style=flat-square)](https://rvlt.gg/ndApqZEs)
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fhowtocook.aiursoft.com)](https://howtocook.aiursoft.com)
[![Docker](https://img.shields.io/docker/pulls/aiursoft/howtocookviewer.svg)](https://hub.docker.com/r/aiursoft/howtocookviewer)
最近宅在家做饭,作为程序员,我偶尔在网上找找菜谱和做法。但是这些菜谱往往写法千奇百怪,经常中间莫名出来一些材料。对于习惯了形式语言的程序员来说极其不友好。
@@ -19,12 +17,10 @@
如果需要在本地部署菜谱 Web 服务,可以在安装 Docker 后运行下面命令:
```bash
docker pull ghcr.io/anduin2017/how-to-cook:latest
docker run -d -p 5000:80 ghcr.io/anduin2017/how-to-cook:latest
docker pull aiursoft/howtocookviewer
docker run -d -p 5000:5000 aiursoft/howtocookviewer
```
如需下载 PDF 版本,可以在浏览器中访问 [/document.pdf](https://cook.aiursoft.com/document.pdf)
## 如何贡献
针对发现的问题,直接修改并提交 Pull request 即可。

View File

@@ -29,24 +29,3 @@ jobs:
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
build-docker-image:
needs: build-readme-file
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
- uses: actions/checkout@v6
with:
lfs: true
fetch-depth: 0
# Use docker to build current directory ./Dockfile
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push the Docker image
run: |
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
docker push ghcr.io/anduin2017/how-to-cook:latest