Skip to content

Commit 3bc0546

Browse files
committed
address comments, add config options
1 parent b7a15b7 commit 3bc0546

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

fern/products/docs/pages/component-library/default-components/tooltips.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: 'Add interactive tooltips to your documentation.'
55

66
The Tooltips component provides a way to display additional information when users hover over an element. This is particularly useful for providing context or explanations without cluttering the interface.
77

8+
## Tooltips in CodeBlocks
9+
810
## Properties
911

1012
<ParamField path="data" type="object" required={true}>
@@ -135,3 +137,5 @@ const api = axios.create({
135137
`````
136138
</Tab>
137139
</Tabs>
140+
141+
## Tooltips for Text

fern/products/sdks/overview/swift/configuration.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ groups:
1212
generators:
1313
- name: fernapi/fern-swift-sdk
1414
version: <Markdown src="/snippets/version-number-swift.mdx"/>
15+
clientClassName: YourClientName
16+
environmentEnumName: YourCustomEnvironment
1517
```
1618
17-
## SDK Configuration Options
19+
## SDK Configuration Options
20+
21+
<ParamField path="clientClassName" type="string" required={false} toc={true}>
22+
The name of the generated client class. This allows you to customize the class name that users will instantiate when using your SDK.
23+
</ParamField>
24+
25+
<ParamField path="environmentEnumName" type="string" required={false} toc={true}>
26+
The name of the generated environment enum. This allows you to customize the enum name that defines your API environments (such as production, staging, development) and ensures consistent naming across SDK generations.
27+
</ParamField>

fern/products/sdks/overview/swift/publishing-to-swift-package-manager.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Publishing as a Swift package
3-
description: How to publish the Fern Go SDK to the Go module proxy.
3+
description: How to publish the Fern Swift SDK as a Swift package
44
---
55

66
Publish your public-facing Fern Swift SDK as a Swift package distributed via Git. After following the steps on this page, you'll have a versioned package that developers can install using Swift Package Manager.
@@ -53,7 +53,7 @@ At this point, you're ready to generate a release for your SDK.
5353
```
5454

5555
<Tip>
56-
Unlike centralized registries, there's no separate "publishing" step required. Your package becomes available immediately once pushed to Git with proper tags.
56+
Unlike other languages that rely on centralized registries, Swift packages are available as soon as they’re tagged and pushed to a Git repository.
5757

5858
You can optionally submit your package to the community-maintained [Swift Package Index](https://swiftpackageindex.com/) for better discoverability.
5959
</Tip>

fern/products/sdks/sdks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ navigation:
185185
path: ./overview/swift/quickstart.mdx
186186
slug: quickstart
187187
- page: Configuration
188-
hidden: true
189188
path: ./overview/swift/configuration.mdx
190189
slug: configuration
191190
- page: Publishing as a Swift package

0 commit comments

Comments
 (0)