You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ruby): tidy rendered examples/READMEs (inline refs, HTML comments, requires)
Three display-layer fixes for translated docs prose:
- rubifyInlineRefs: translate inline `code` API references in prose to snake_case
(`bucketArn` -> `bucket_arn`, `arnForObjects(pattern)` -> `arn_for_objects(pattern)`),
matching the real member names. Literals/types/enums are left alone.
- Strip HTML comments (CDK's `<!--BEGIN STABILITY BANNER-->` / CFNONLY markers),
which YARD's Markdown renderer would otherwise show as visible text.
- Strip `require` boilerplate from examples: it comes from the snippet fixture and,
after import translation, collapses to duplicate `require 'aws-cdk-lib'` lines.
Applied to @example (convertExample) and README/remarks fenced blocks.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments