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
d541fd425d
Rename mkdocs.yml to properdocs.yml, remove --strict flag
...
- Update readme-generate.js to output properdocs.yml instead of mkdocs.yml
- Remove --strict from build command (pre-existing broken links in content)
- Remove legacy mkdocs.yml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-04 13:25:23 +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
Pádraic Slattery
3b86671dbb
chore: Update outdated GitHub Actions versions ( #1746 )
2026-01-19 18:51:43 +00:00
sunblack110
0e5d0b6ea8
fix: 将挂勺加入勺子用法白名单,修复 issue #1689 ( #1725 )
...
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
挂勺是中餐烹饪术语,表示酱汁浓稠到可以挂在勺子上的状态。
这是一个描述烹饪状态的词,而非计量单位,应该被允许使用。
Fixes Anduin2017/HowToCook#1689
2026-01-05 17:01:47 +00:00
Anduin Xue
e4b270735e
Update readme_template.md
2025-12-04 17:04:38 +00:00
Anduin Xue
c799daa932
Patch domain
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
6fb7bcad87
Fix glob paths in manual_lint.js
2025-09-20 15:55:39 +00:00
Anduin Xue
a737675a0f
Update readme_template.md
2025-06-14 05:24:56 +00:00
phyang
ea963d131e
Update manual_lint.js:重构校验脚本为模块化结构,提升可读性与可维护性;使用 path.resolve 统一管理 glob 路径,路径处理更安全。 ( #1587 )
...
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
* Update manual_lint.js
* Update manual_lint.js
---------
Co-authored-by: Anduin Xue <anduin@aiursoft.com >
2025-05-13 13:49:14 +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
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
656b420a06
Add cooking difficulty validation to manual linting script
Continuous Deployment / build-readme-file (push) Waiting to run
Continuous Deployment / build-docker-image (push) Blocked by required conditions
2025-04-24 06:29:54 +00:00
Anduin Xue
9b774c4f16
Update readme_template.md
2025-04-24 05:48:21 +00:00
Anduin Xue
d29df6b3aa
Update build.yml
2025-04-23 11:36:51 +00:00
Anduin Xue
584bc5b6bc
Update build.yml to checkout with lfs
2025-04-23 11:35:51 +00:00
Anduin Xue
4250125741
Add check for files without extensions in manual linting script
2025-04-20 12:47:35 +00:00
Anduin Xue
2e9937c9b5
添加文件大小检查,确保文件不超过1MB限制,并提示用户压缩或分割文件。
2025-04-20 12:39:16 +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
bf5928ddbc
Update build.yml use setup-node@v4
2025-04-16 05:42:50 +00:00
Anduin Xue
3618b4a91b
Update build.yml use setup-node@v4
2025-04-16 05:42:40 +00:00
Anduin Xue
a035c61241
Update ci.yml use node 22
2025-04-16 05:40:40 +00:00
Anduin Xue
ef00aa551b
Update ci.yml use node 22
2025-04-16 05:40:29 +00:00
Anduin Xue
9354cf31cc
更新 Readme,毕竟这年头不隔离了。。
2025-03-20 17:02:19 +00:00
Anduin Xue
8078b546ba
Add validation to manual_lint.js to check for spaces in filenames
2025-01-18 12:19:33 +00:00
Anduin
035cf7c177
Update dish difficulty titles to use Chinese characters
2024-06-06 17:12:40 +00:00
Yufei Jiao
e6c84a641d
Update readme-generate.js ( #1329 )
...
* Update readme-generate.js
* Update readme-generate.js
* Update readme-generate.js
2024-06-06 17:02:26 +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
d798ed1eeb
chore: Update build workflow to include Docker image build and push to GitHub Container Registry
2024-06-03 13:02:05 +00:00
Anduin
76012b3b1d
chore: Update build workflow to include Docker image build and push to GitHub Container Registry
2024-06-03 12:55:50 +00:00
Anduin
0e2749a441
Update Dockerfile to remove sudo from fc-cache command
2024-06-03 12:52:07 +00:00
Anduin
bc8b5e0e33
chore: Update build workflow name to Continuous Deployment
2024-06-03 12:45:00 +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
Anduin
f36778f5da
chore: Update Dockerfile to use GitHub Container Registry for image build and push
2024-06-03 12:22:06 +00:00
Anduin
4698eea6e3
chore: Update Dockerfile to use GitHub Container Registry for image build and push
2024-06-03 12:21:36 +00:00
Anduin
0f1b3ab520
chore: Update Dockerfile to use GitHub Container Registry for image build and push
2024-06-03 12:02:53 +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
dcebed6c02
chore: Update stale.yml configuration for issue and pull request management
2024-06-03 06:39:31 +00:00
xuef
9522152755
chore: Update mkdocs build command to remove strict flag
2024-06-03 05:47:35 +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