Skip to content

Conversation

@robinjhuang
Copy link
Member

Add Github action to test the following:

  • If a file is edited, make sure the Chinese file is edited as well
  • If a file is moved, make sure a redirect is added

This action ensures that when an MDX file is modified, the corresponding
Chinese translation file in the zh-CN directory is also updated.

- Added zh-cn-sync-check.yml workflow file
- Updated documentation in README.md and README.zh-CN.md
- Enhanced zh-cn-sync-check.yml to detect moved MDX files
- Added check for proper redirects in docs.json
- Updated documentation in README files with redirect requirements
- Create redirect-check.yml workflow to verify redirects for moved files
- Simplify zh-cn-sync-check.yml to focus only on translations
- Update documentation in README files to reference both actions
@robinjhuang robinjhuang merged commit ea97390 into main May 20, 2025
4 checks passed
@comfyui-wiki
Copy link
Member

Automatic translation? That's great.

@robinjhuang
Copy link
Member Author

robinjhuang commented May 21, 2025 via email

@comfyui-wiki
Copy link
Member

I'm busy creating and testing VACE template these days, will update the docs later

@comfyui-wiki comfyui-wiki deleted the feature/zh-cn-sync-check branch July 11, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants