HowToCook/.github
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
..
templates Add English i18n support with mkdocs-static-i18n 2026-05-04 13:42:42 +00:00
workflows chore: Update outdated GitHub Actions versions (#1746) 2026-01-19 18:51:43 +00:00
manual_lint.js fix: 将挂勺加入勺子用法白名单,修复 issue #1689 (#1725) 2026-01-05 17:01:47 +00:00
pull_request_template.md 黄焖鸡把这个文件给改坏了 2022-03-31 19:32:40 +08:00
readme-generate.js Add English i18n support with mkdocs-static-i18n 2026-05-04 13:42:42 +00:00