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
60e5d0eb8d
chore: Update build workflow to include Docker image build and push to GitHub Container Registry
2024-06-03 13:43:33 +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
AnduinXue
e50a023916
Avoid google font file.
2024-03-12 18:59: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
58fa2e419c
Read template from file.
2022-03-07 03:28:45 +08:00