fix: rename zh-CN/ to zh/ to conform to Mintlify i18n spec#837
Open
comfyui-wiki wants to merge 3 commits intomainfrom
Open
fix: rename zh-CN/ to zh/ to conform to Mintlify i18n spec#837comfyui-wiki wants to merge 3 commits intomainfrom
comfyui-wiki wants to merge 3 commits intomainfrom
Conversation
Mintlify requires ISO 639-1 two-letter language codes (zh, not zh-CN). - Rename zh-CN/ directory to zh/ - Update all zh-CN/ path references in docs.json, snippets, JS files, CI scripts - Add redirect rule in docs.json: /zh-CN/:slug* → /zh/:slug* - Update language-switcher-fix.js and giscus-comments.js URL patterns - Update GitHub Actions workflow and validate-links.py Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zh-CN/directory tozh/to use ISO 639-1 two-letter code as required by Mintlify internationalization specdocs.jsonalready had"language": "zh"— this PR aligns the file paths to match/zh-CN/to/zh/across all MDX files, snippets, and JS scriptsdocs.json:/zh-CN/:slug*→/zh/:slug*for backward compatibilitylanguage-switcher-fix.jsandgiscus-comments.jsURL patternszh-cn-sync-check.yml) andvalidate-links.pyto usezh/pathsREADME.mdandREADME.zh-CN.mdreferencesTest plan
/zh/paths/zh-CN/URLs redirect to/zh/equivalents🤖 Generated with Claude Code