Skip to content

Commit 83037cc

Browse files
Kapil GowruKapil Gowru
authored andcommitted
fix: added edit this page and docs
1 parent 926d401 commit 83037cc

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

fern/assets/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@
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
2.06 KB
Loading
2.03 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 */}

0 commit comments

Comments
 (0)