Repository navigation
chore: let Babelize format the translated docs - #99
Conversation
Babelize 1.0.17 formats translated docs with the project's Prettier (babelize/babelize-dashboard#407), so the generated pages no longer need to be in .prettierignore. Re-ran babelize translate --docs-only: the translations are unchanged (all from the lockfile); 52 pages were only reformatted.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Enable formatting for localized files .prettierignore |
Removes ignore patterns for translated documentation, localized metadata, and .babelize/local/docs-lock.json. |
Component catalog and phone input content/docs/components/index.*.mdx, content/docs/components/meta.*.json, content/docs/components/inputs/* |
Reformats component index tables, phone-input documentation tables, and related metadata. Listed entries and documented values remain unchanged. |
Language switchers and locale pickers content/docs/components/language-switchers/*, content/docs/components/locale-pickers/* |
Reformats localized tables and metadata. Documented properties, defaults, supported languages, and keyboard actions remain unchanged. |
Navigation and translation content/docs/components/navigation/*, content/docs/components/translation/* |
Reformats localized tables and metadata. Documented properties, values, and behavior remain unchanged. |
Getting-started documentation content/docs/customization/meta.*.json, content/docs/getting-started/* |
Reformats localized metadata, prerequisites tables, and JSX components. Values and content remain unchanged. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related issues
- Issue 96 tracks Spanish, Japanese, and Arabic localization, including translated MDX documentation. This pull request reformats those localized files.
Possibly related PRs
- babelize/babelize-elements#98: Adds the translated documentation files that this pull request reformats.
Suggested labels: documentation
Suggested reviewers: ujwalbajaj
Merge Risk: 
Minimal · up to ba2e7
-
No merge-blocking issue is identified. The changes enable formatting of localized documentation and normalize its layout without an established behavioral regression.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (52 skipped: 52 unsupported.)
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Babelize 1.0.17 formats translated docs with the project's own Prettier (babelize/babelize-dashboard#407), so the workaround from #98 isn't needed anymore.
.prettierignoreno longer lists the generated*.{es,ja,ar}.mdx,meta.*.jsonanddocs-lock.json.babelize translate --docs-only --to es,ja,arwith the publishedbabelize@1.0.17. All 3,105 translations came from the lockfile, with 0 translated. The only change is formatting, in 52 pages: table padding and JSON arrays.format:check, typecheck, tests,build,build:libandtest:packall pass locally.Summary by CodeRabbit