Skip to content

docs: add context derivation to derive docs + devlog#215

Open
moss-bryophyta wants to merge 1 commit intomainfrom
docs-sync/context-derivation
Open

docs: add context derivation to derive docs + devlog#215
moss-bryophyta wants to merge 1 commit intomainfrom
docs-sync/context-derivation

Conversation

@moss-bryophyta
Copy link
Copy Markdown
Collaborator

Adds documentation for the new context derivation feature from generaltranslation/gt#1173.

Changes

  • derive string template: Added "Context derivation" section with examples showing derive() in $context
  • Derive component template: Added "Context derivation" section with examples showing derive() in the context prop of <T>
  • T component template: Updated context prop description to reference derive()
  • InlineTranslationOptions template: Updated $context description to reference derive()
  • Devlog: Added gt-next_v6_16_0.mdx covering context derivation

Packages

gt-next@6.16.0, gt-react@10.18.0, gt-i18n@0.8.0, gt-node@0.5.0, gt-tanstack-start@0.4.0, gtx-cli@2.14.6

…ons + devlog

- Add context derivation section to derive string and component templates
- Update T context prop description to mention derive()
- Update InlineTranslationOptions $context to mention derive()
- Add devlog for gt-next@6.16.0 covering context derivation feature

Ref: generaltranslation/gt#1173
@moss-bryophyta moss-bryophyta requested a review from a team as a code owner April 7, 2026 03:23
@moss-bryophyta moss-bryophyta enabled auto-merge (squash) April 7, 2026 03:23
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.

1 participant