Commit Graph

2 Commits

Author SHA1 Message Date
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