diff --git a/fern/assets/styles.css b/fern/assets/styles.css index 9286ce973..54f5b862c 100644 --- a/fern/assets/styles.css +++ b/fern/assets/styles.css @@ -181,14 +181,18 @@ content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/product-switcher-askfern-dark.png") !important; } -:is(.dark) .fern-product-selector-radio-group a[href*="api-definition"] img { - content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/api-definitions-dark.png") !important; +:is(.dark) .fern-product-selector-radio-group a[href*="openapi-definition"] img { + content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/openapi-definition-dark.png") !important; } :is(.dark) .fern-product-selector-radio-group a[href*="cli-api-reference"] img { content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/cli-api-reference-dark.png") !important; } +:is(.dark) .fern-product-selector-radio-group a[href*="fern-definition"] img { + content: url("https://fern-docs.s3.us-east-2.amazonaws.com/product-switcher/fern-definition-dark.png") !important; +} + /*** END -- PRODUCT SELECTOR STYLING ***/ /*** START -- DOCS HOMEPAGE STYLING ***/ diff --git a/fern/docs.yml b/fern/docs.yml index a2cfa75ce..069eadeb1 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -2,6 +2,11 @@ instances: - url: fern-v2.docs.buildwithfern.com/learn/v2 - url: fern-api.docs.buildwithfern.com/learn custom-domain: buildfern.com/learn + edit-this-page: + github: + owner: fern-api + repo: docs + branch: main title: Fern @@ -44,13 +49,13 @@ products: - display-name: OpenAPI path: ./products/openapi-def/openapi-def.yml icon: fa-regular fa-book - image: ./images/product-switcher/openapi-def.png + image: ./images/product-switcher/openapi-definition-light.png slug: openapi-definition - display-name: Fern Definition path: ./products/fern-def/fern-def.yml icon: fa-regular fa-seedling - image: ./images/product-switcher/fern-def.png + image: ./images/product-switcher/fern-definition-light.png slug: fern-definition - display-name: CLI & API Reference diff --git a/fern/images/product-switcher/api-definitions-light.png b/fern/images/product-switcher/api-definitions-light.png index 6b8328ba8..339837dfa 100644 Binary files a/fern/images/product-switcher/api-definitions-light.png and b/fern/images/product-switcher/api-definitions-light.png differ diff --git a/fern/images/product-switcher/fern-definition-dark.png b/fern/images/product-switcher/fern-definition-dark.png new file mode 100644 index 000000000..1a0df7505 Binary files /dev/null and b/fern/images/product-switcher/fern-definition-dark.png differ diff --git a/fern/images/product-switcher/fern-definition-light.png b/fern/images/product-switcher/fern-definition-light.png new file mode 100644 index 000000000..388f948ca Binary files /dev/null and b/fern/images/product-switcher/fern-definition-light.png differ diff --git a/fern/images/product-switcher/openapi-definition-dark.png b/fern/images/product-switcher/openapi-definition-dark.png new file mode 100644 index 000000000..55639ddf4 Binary files /dev/null and b/fern/images/product-switcher/openapi-definition-dark.png differ diff --git a/fern/images/product-switcher/openapi-definition-light.png b/fern/images/product-switcher/openapi-definition-light.png new file mode 100644 index 000000000..339837dfa Binary files /dev/null and b/fern/images/product-switcher/openapi-definition-light.png differ diff --git a/fern/products/home/pages/welcome.mdx b/fern/products/home/pages/welcome.mdx index 784c4341f..f3207a38f 100644 --- a/fern/products/home/pages/welcome.mdx +++ b/fern/products/home/pages/welcome.mdx @@ -93,7 +93,7 @@ import { FernFooter } from "../../../components/FernFooter"; Java {/* C# */} - + C# {/* PHP */} diff --git a/fern/products/sdks/sdks.yml b/fern/products/sdks/sdks.yml index 548080880..215212497 100644 --- a/fern/products/sdks/sdks.yml +++ b/fern/products/sdks/sdks.yml @@ -129,14 +129,6 @@ navigation: # href: https://buildwithfern.com/showcase - page: MCP Server path: ./overview/mcp-server/introduction.mdx - - link: Request Rust - href: https://buildwithfern.com/book-demo?type=language-request - - link: Request Swift - href: https://buildwithfern.com/book-demo?type=language-request - - link: Request C++ - href: https://buildwithfern.com/book-demo?type=language-request - - link: Request Kotlin - href: https://buildwithfern.com/book-demo?type=language-request - section: Deep Dives contents: - page: Customize Method Names