Skip to content

docs: document both sdk and language variants for code-samples#5741

Open
fern-api[bot] wants to merge 1 commit into
mainfrom
devin/1781058195-document-code-samples-variants
Open

docs: document both sdk and language variants for code-samples#5741
fern-api[bot] wants to merge 1 commit into
mainfrom
devin/1781058195-document-code-samples-variants

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The x-fern-examples code-samples section supports two variants for identifying the language, but the page only documented sdk. This adds documentation for both:

  • sdk — restricted to Fern's supported SDK language enum (typescript, python, go, etc.). Associates the sample with the corresponding SDK language tab.
  • language — accepts any string. Useful for languages outside the supported list, and also accepts an optional install field.

Adds a comparison table and a second YAML example showing the language variant with install. Updates both the English and Chinese translations.

Requested by: Fern Support

…ern-examples

Co-Authored-By: bot_apk <apk@cognition.ai>
@fern-api fern-api Bot requested a review from devalog as a code owner June 10, 2026 02:24
@fern-api

fern-api Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Requested by: devin
Slack thread: View conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.

0 participants