diff --git a/fern/products/cli-api-reference/cli-changelog/2025-09-22.mdx b/fern/products/cli-api-reference/cli-changelog/2025-09-22.mdx index 614e22d32..57a099503 100644 --- a/fern/products/cli-api-reference/cli-changelog/2025-09-22.mdx +++ b/fern/products/cli-api-reference/cli-changelog/2025-09-22.mdx @@ -7,7 +7,7 @@ ## 0.78.4 -**`(fix):`** Collapse any combination of optional and nullable to optional>. +**`(fix):`** Collapse any combination of optional and nullable to `optional>`. ## 0.78.3 **`(chore):`** Support IR v59 in the Rust SDK generator. diff --git a/fern/products/docs/pages/component-library/default-components/code-blocks.mdx b/fern/products/docs/pages/component-library/default-components/code-blocks.mdx index 91a3b3875..38531fd45 100644 --- a/fern/products/docs/pages/component-library/default-components/code-blocks.mdx +++ b/fern/products/docs/pages/component-library/default-components/code-blocks.mdx @@ -326,7 +326,7 @@ automatically sync and switch to match. Language preferences are stored in client-side local storage and persist across browser sessions. The example below demonstrates language sync in action – choosing a language in -either set of code blocks will automatically update both sets to match: +either set of `CodeBlocks` will automatically update both sets to match: ```python title="Python" @@ -384,6 +384,10 @@ either set of code blocks will automatically update both sets to match: `CodeBlocks` automatically synchronize with [`` components that have a `language` property](/docs/writing-content/components/tabs#language-synchronization). +### Linking to language-specific content + + + ### Override synchronization You can override the synchronization of code blocks by setting the `for` prop. diff --git a/fern/products/docs/pages/component-library/default-components/snippets/language-url.mdx b/fern/products/docs/pages/component-library/default-components/snippets/language-url.mdx new file mode 100644 index 000000000..22d4a5b13 --- /dev/null +++ b/fern/products/docs/pages/component-library/default-components/snippets/language-url.mdx @@ -0,0 +1,5 @@ +You can link directly to content in a specific language by adding `?language=` to the end of a URL. This sets which language tab wil be displayed by default when users visit the page. + +For example, the following link opens with Java tabs displayed: https://buildwithfern.com/learn/docs/writing-content/components/tabs?language=java + +This works with both `CodeBlocks` and `Tab` components that have a `language` property. \ No newline at end of file diff --git a/fern/products/docs/pages/component-library/default-components/tabs.mdx b/fern/products/docs/pages/component-library/default-components/tabs.mdx index 1290970e4..d48c12c4c 100644 --- a/fern/products/docs/pages/component-library/default-components/tabs.mdx +++ b/fern/products/docs/pages/component-library/default-components/tabs.mdx @@ -186,3 +186,7 @@ either set of tabs doesn't affect the other set of tabs: +### Linking to language-specific content + + + diff --git a/fern/products/sdks/overview/ruby/configuration.mdx b/fern/products/sdks/overview/ruby/configuration.mdx index e5bcc1ecc..dfc1f8d54 100644 --- a/fern/products/sdks/overview/ruby/configuration.mdx +++ b/fern/products/sdks/overview/ruby/configuration.mdx @@ -24,9 +24,13 @@ The name of the generated client class. This allows you to customize the class n The default timeout for network requests in seconds. In the generated client, this can be overridden at the request level. Set to 'infinity' to disable timeouts. + + Specify additional dependencies to include in the generated SDK's gemspec. This is useful when you need to add custom gems that your SDK depends on. + + Specify additional development dependencies to include in the generated SDK's gemspec. These are dependencies used for development and testing but not required by end users.