Commit Graph

37 Commits

Author SHA1 Message Date
Anduin Xue
16c9dcafc0 refactor: streamline README generation by removing star index section and unused mkdocs references 2026-05-11 14:05:59 +00:00
Anduin Xue
83f6d8f825 Remove difficulty category files for 4, 5, 7, and 8 star dishes, including all associated dish links. 2026-05-11 12:48:42 +00:00
Anduin Xue
52bd8d6434 fix: remove minify plugin to resolve build issues
The mkdocs-minify-plugin with htmlmin was causing segfaults during the
properdocs build when processing the large i18n file set.

Changes:
- Removed mkdocs-minify-plugin from requirements.txt
- Removed htmlmin2 dependency
- Removed minify plugin from mkdocs_template.yml
- Regenerated properdocs.yml

Verification:
- Docker build: SUCCESS ✓
- Image loading: HTTP 200 ✓
- i18n functionality: Working ✓

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 09:26:20 +00:00
Anduin Xue
3bb7159bf8 Add English i18n support with mkdocs-static-i18n
- Add mkdocs-static-i18n to requirements.txt
- Configure i18n plugin: zh (default) at root, en/ subfolder
- Add language switcher (alternate) in extra config
- Disable navigation.instant (incompatible with i18n switcher)
- Add nav_translations for all category labels in English
- Update readme-generate.js: dish/tip nav entries use path-only
  (mkdocs auto-uses page heading = English title for /en/ pages)
- en/ folder to be populated by dotlang translation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-04 13:42:42 +00:00
Anduin Xue
a7d81fa681 Migrate from mkdocs to properdocs
- Replace mkdocs-with-pdf + weasyprint with properdocs>=1.6.7
- Add pymdown-extensions for richer markdown support
- Remove heavy apt dependencies (weasyprint, fonts-noto-cjk, wget, unzip)
- Switch build command from 'mkdocs build' to 'properdocs build --strict'
- Update template: add offline plugin, fix palette, add content.code.select/copy
- Add md_in_html, pymdownx.tilde, emoji, mermaid, annotation icon support
- Fix broken icon path material//weather-sunny

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-04 13:20:03 +00:00
Anduin Xue
fb200c2ec8 Update readme_template.md 2026-04-06 05:29:12 +00:00
Anduin Xue
d83cd4d933 Update readme_template.md 2026-02-12 15:30:38 +00:00
Anduin Xue
e4b270735e Update readme_template.md 2025-12-04 17:04:38 +00:00
Anduin Xue
c799daa932 Patch domain
Some checks failed
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-10-28 11:30:11 +00:00
Anduin Xue
ce75f64a07 Fix PDF download link in readme template
Updated the PDF download link from cook.aiursoft.cn to cook.aiursoft.com.
2025-10-28 11:28:57 +00:00
Anduin Xue
930fdef567 Update readme_template.md 2025-10-17 08:07:55 +00:00
Anduin Xue
a737675a0f Update readme_template.md 2025-06-14 05:24:56 +00:00
Anduin Xue
d3f21a15fb Update readme_template.md 2025-05-06 09:58:59 +00:00
Anduin Xue
98e00a9ae5 Update readme_template.md 2025-05-06 09:57:48 +00:00
Anduin Xue
b386807956 Update readme_template.md
Some checks failed
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-04-28 06:14:12 +00:00
Anduin Xue
9b774c4f16 Update readme_template.md 2025-04-24 05:48:21 +00:00
Anduin Xue
c79e497850 删除鸣谢。不知道为什么它会影响pdf的生成。 2025-04-20 12:10:51 +00:00
Anduin Xue
ff51d9fae6 Update readme_template.md 2025-04-19 07:03:36 +00:00
Anduin Xue
0a2439f823 “搭建环境”更适合描述做菜前的准备。 2025-04-17 09:44:43 +00:00
Anduin Xue
9354cf31cc 更新 Readme,毕竟这年头不隔离了。。 2025-03-20 17:02:19 +00:00
Anduin
035cf7c177 Update dish difficulty titles to use Chinese characters 2024-06-06 17:12:40 +00:00
Anduin
60e5d0eb8d chore: Update build workflow to include Docker image build and push to GitHub Container Registry 2024-06-03 13:43:33 +00:00
Anduin
0e2749a441 Update Dockerfile to remove sudo from fc-cache command 2024-06-03 12:52:07 +00:00
Anduin
fa38fd120b chore: Update Dockerfile to use GitHub Container Registry for image build and push 2024-06-03 12:37:05 +00:00
xuef
d833e1a7f5 chore: Update PDF plugin configuration and fix formatting in dishes/semi-finished/豆鼓.md 2024-06-03 07:32:04 +00:00
xuef
f497818f21 chore: Update PDF plugin configuration and fix formatting in dishes/semi-finished/豆鼓.md 2024-06-03 07:26:59 +00:00
xuef
6d5e9a3e40 chore: Update PDF plugin output path in mkdocs_template.yml and fix formatting in dishes/semi-finished/豆鼓.md 2024-06-03 05:30:44 +00:00
xuef
1df6f40731 chore: Add PDF plugin configuration to mkdocs.yml 2024-06-03 03:30:34 +00:00
Anduin
cce0085a68 chore: Update Dockerfile to remove node_modules during build 2024-06-02 06:18:00 +00:00
AnduinXue
e50a023916 Avoid google font file. 2024-03-12 18:59:03 +00:00
AnduinXue
6b7ad6b9c2 Add docker support. 2024-03-12 18:33:19 +00:00
Anduin Xue
a40626ebfb Update readme_template.md 2023-11-25 05:47:03 +00:00
Anduin Xue
ec1be83fd3 Update mkdocs_template.yml 2023-08-19 17:44:50 +00:00
Anduin Xue
3fedd76486 Add footer for page. 2023-01-10 10:26:42 +00:00
Anduin Xue
7b75145306 Update mkdocs_template.yml 2023-01-10 09:27:15 +00:00
Anduin Xue
92cc356eb4 Update readme_template.md 2022-04-11 03:27:56 +08:00
Anduin Xue
58fa2e419c Read template from file. 2022-03-07 03:28:45 +08:00