Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


## 0.78.4
**`(fix):`** Collapse any combination of optional and nullable to optional<nullable<T>>.
**`(fix):`** Collapse any combination of optional and nullable to `optional<nullable<T>>`.

## 0.78.3
**`(chore):`** Support IR v59 in the Rust SDK generator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<CodeBlocks>
```python title="Python"
Expand Down Expand Up @@ -384,6 +384,10 @@ either set of code blocks will automatically update both sets to match:
`CodeBlocks` automatically synchronize with [`<Tab>` components that have a `language` property](/docs/writing-content/components/tabs#language-synchronization).
</Note>

### Linking to language-specific content

<Markdown src="snippets/language-url.mdx" />

### Override synchronization

You can override the synchronization of code blocks by setting the `for` prop.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
You can link directly to content in a specific language by adding `?language=<some-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.
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,7 @@ either set of tabs doesn't affect the other set of tabs:

</Accordion>

### Linking to language-specific content

<Markdown src="snippets/language-url.mdx" />

4 changes: 4 additions & 0 deletions fern/products/sdks/overview/ruby/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</ParamField>
<ParamField path="extraDependencies" type="ExtraDependenciesSchema" required={false} toc={true}>
<Markdown src="/snippets/pro-plan.mdx"/>

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.
</ParamField>
<ParamField path="extraDevDependencies" type="ExtraDependenciesSchema" required={false} toc={true}>
<Markdown src="/snippets/pro-plan.mdx"/>

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.
</ParamField>
<ParamField path="flattenModuleStructure" type="boolean" default="false" required={false} toc={true}>
Expand Down