feat(docs): Support simplified string syntax for translations in docs.yml#15488
Conversation
Co-Authored-By: Deep Singhvi <deep@buildwithfern.com>
Co-Authored-By: Deep Singhvi <deep@buildwithfern.com>
…ionPages Co-Authored-By: Deep Singhvi <deep@buildwithfern.com>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
@claude review |
SDK Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) on Full benchmark table (click to expand)
main (generator): generator-only time via --skip-scripts (includes Docker image build, container startup, IR parsing, and code generation — this is the same Docker-based flow customers use via |
Docs Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) on
Docs generation runs |
Summary
Implements syntactic sugar for the
translationsfield indocs.ymlto allow cleaner configuration.Changes
Before
After (new syntax)
Or mixed:
Implementation Details
TranslationConfigschema to acceptLanguage | TranslationConfigObjectunionnormalizeTranslationConfighelper function to convert strings to objectsTesting
Related
Addresses feedback from Slack thread about making the translations syntax less verbose.
Slack Thread