Skip to content

Commit 09ffa5c

Browse files
feat(docs): Add swift version (and fix a few more links) (#518)
1 parent 8f98520 commit 09ffa5c

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install link checker
2020
run: pip install linkchecker
2121
- name: Create config
22-
run: echo -e "[csv]\nseparator=,\n[filtering]\nignore=\n\texample.com\n\tus.i.posthog.com\n\tdocs.stack-auth.com\n\tc.vialoops.com/CL0\n[output]\nignoreerrors=\n ^http ^403 Forbidden" > lcconfig
22+
run: echo -e "[csv]\nseparator=,\n[filtering]\nignore=\n\texample.com\n\tus.i.posthog.com\n\tdocs.stack-auth.com\n\t/_vercel/(speed-)?insights/\n\tc.vialoops.com/CL0\n[output]\nignoreerrors=\n ^http ^403 Forbidden" > lcconfig
2323
- name: Check ${{ matrix.site.name }} Links
2424
run: |
2525
set +e

.github/workflows/update-versions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-ruby-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-ruby.mdx
2727
- name: update-ts-version
2828
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-typescript-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-ts.mdx
29+
- name: update-swift-version
30+
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-swift-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-swift.mdx
2931
- name: create PR
3032
id: cpr
3133
uses: peter-evans/create-pull-request@v7

fern/products/api-def/ferndef-pages/audiences.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Audiences in Fern Definition
33
subtitle: Use audiences in your Fern Definition to segment your API for different groups of consumers.
44
---
55

6-
Audiences are a useful tool for segmenting your API for different consumers. You can configure your Fern Docs to publish documentation specific to an `Audience`. You can use [audiences in your OpenAPI Specification](/learn/api-definition/openapi/audiences), too.
6+
Audiences are a useful tool for segmenting your API for different consumers. You can configure your Fern Docs to publish documentation specific to an `Audience`. You can use [audiences in your OpenAPI Specification](/learn/api-definitions/openapi/extensions/audiences), too.
77

88
Common examples of audiences include:
99

fern/products/docs/pages/customization/user-feedback.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ By default, every Markdown page of your docs contains a feedback component at th
1616

1717
The feedback can be sent to you in real-time via the method of your choosing (e.g. Slack, email).
1818

19-
To disable this feature on a page, set `hide-feedback: true` in the frontmatter of that page. You can read more about the frontmatter configuration [here](/learn/docs/content/frontmatter#on-page-feedback).
19+
To disable this feature on a page, set `hide-feedback: true` in the frontmatter of that page. You can read more about the frontmatter configuration [here](/learn/docs/configuration/page-level-settings#on-page-feedback).
2020

2121
## Edit this page
2222
Allow users to open directly to the current page in your GitHub repository and suggest changes.

fern/products/sdks/introduction.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,17 @@ description: Generate idiomatic SDKs in multiple programming languages
220220
<div class="flex items-start flex-col space-y-3">
221221
<img class="mx-auto dark:hidden" alt="Request Swift" src="./images/swift-card.png" />
222222
<img class="mx-auto hidden dark:block" alt="Request Swift" src="./images/swift-card-dark.png" />
223-
<div class="w-full space-y-1 overflow-hidden">
223+
<div class="w-full space-y-1 overflow-hidden flex justify-between items-center">
224224
<div class="text-(color:--grayscale-a12) text-body text-base font-semibold card-title">
225225
Swift
226226
<img src="./images/arrow-right-black.svg" alt="Arrow right light" className="arrow-right dark:hidden m-0" noZoom />
227227
<img src="./images/arrow-right-white.svg" alt="Arrow right light" className="arrow-right hidden dark:block m-0" noZoom />
228228
</div>
229+
<div class="flex items-center gap-2">
230+
<div class="text-(color:--grayscale-a12) text-body text-base font-light">
231+
v<Markdown src="/snippets/version-number-swift.mdx"/>
232+
</div>
233+
</div>
229234
</div>
230235
</div>
231236
</a>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.7.0

0 commit comments

Comments
 (0)