Commit Graph

8 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
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
xuef
f497818f21 chore: Update PDF plugin configuration and fix formatting in dishes/semi-finished/豆鼓.md 2024-06-03 07:26:59 +00:00
xuef
c10956782c Try to build with pdf. 2024-06-03 03:05:48 +00:00
Siming Yuan
f2a329724e adding more mkdocs customization for beautification 2022-02-28 17:58:51 -05:00
Siming Yuan
22a3947226 adding support for mkdocs-material hosting/docs generation 2022-02-28 11:45:05 -05:00
Anduin Xue
a2ef18e4e9 Revert some python stuff. 2022-03-01 00:32:46 +08:00
Siming Yuan
d4a46c77b1 - fixing doc reference bugs
- added support for mkdocs materia rendering
2022-02-28 10:21:33 -05:00