Skip to content

Commit 436820d

Browse files
kgowruKapil GowruKapil Gowru
authored
07 23 product switcher (#127)
Co-authored-by: Kapil Gowru <[email protected]> Co-authored-by: Kapil Gowru <[email protected]>
1 parent d76dcb5 commit 436820d

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

fern/assets/styles.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,18 @@
181181
content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/product-switcher-askfern-dark.png") !important;
182182
}
183183

184-
:is(.dark) .fern-product-selector-radio-group a[href*="api-definition"] img {
185-
content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/api-definitions-dark.png") !important;
184+
:is(.dark) .fern-product-selector-radio-group a[href*="openapi-definition"] img {
185+
content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/openapi-definition-dark.png") !important;
186186
}
187187

188188
:is(.dark) .fern-product-selector-radio-group a[href*="cli-api-reference"] img {
189189
content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/cli-api-reference-dark.png") !important;
190190
}
191191

192+
:is(.dark) .fern-product-selector-radio-group a[href*="fern-definition"] img {
193+
content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/fern-definition-dark.png") !important;
194+
}
195+
192196
/*** END -- PRODUCT SELECTOR STYLING ***/
193197

194198
/*** START -- DOCS HOMEPAGE STYLING ***/

fern/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ instances:
22
- url: fern-v2.docs.buildwithfern.com/learn/v2
33
- url: fern-api.docs.buildwithfern.com/learn
44
custom-domain: buildfern.com/learn
5+
edit-this-page:
6+
github:
7+
owner: fern-api
8+
repo: docs
9+
branch: main
510

611
title: Fern
712

@@ -44,13 +49,13 @@ products:
4449
- display-name: OpenAPI
4550
path: ./products/openapi-def/openapi-def.yml
4651
icon: fa-regular fa-book
47-
image: ./images/product-switcher/openapi-def.png
52+
image: ./images/product-switcher/openapi-definition-light.png
4853
slug: openapi-definition
4954

5055
- display-name: Fern Definition
5156
path: ./products/fern-def/fern-def.yml
5257
icon: fa-regular fa-seedling
53-
image: ./images/product-switcher/fern-def.png
58+
image: ./images/product-switcher/fern-definition-light.png
5459
slug: fern-definition
5560

5661
- display-name: CLI & API Reference
10 Bytes
Loading
2.06 KB
Loading
2.03 KB
Loading
1.96 KB
Loading
1.89 KB
Loading

fern/products/home/pages/welcome.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import { FernFooter } from "../../../components/FernFooter";
9393
<img src="./images/java-logo.svg" alt="Java" className="language-icon-img" noZoom />
9494
</a>
9595
{/* C# */}
96-
<a className="language-icon" href="/sdks/generators/net/quickstart">
96+
<a className="language-icon" href="/sdks/generators/csharp/quickstart">
9797
<img src="./images/csharp-logo.svg" alt="C#" className="language-icon-img" noZoom />
9898
</a>
9999
{/* PHP */}

fern/products/sdks/sdks.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,6 @@ navigation:
129129
# href: https://buildwithfern.com/showcase
130130
- page: MCP Server
131131
path: ./overview/mcp-server/introduction.mdx
132-
- link: Request Rust
133-
href: https://buildwithfern.com/book-demo?type=language-request
134-
- link: Request Swift
135-
href: https://buildwithfern.com/book-demo?type=language-request
136-
- link: Request C++
137-
href: https://buildwithfern.com/book-demo?type=language-request
138-
- link: Request Kotlin
139-
href: https://buildwithfern.com/book-demo?type=language-request
140132
- section: Deep Dives
141133
contents:
142134
- page: Customize Method Names

0 commit comments

Comments
 (0)