Skip to content

Commit f3535e1

Browse files
committed
reorganized and consolidate overrides info in API Def section
1 parent 9a4692a commit f3535e1

File tree

14 files changed

+208
-1085
lines changed

14 files changed

+208
-1085
lines changed

fern/docs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,18 @@ redirects:
495495
- source: /learn/openapi-definition/extensions/webhooks
496496
destination: /learn/api-definitions/openapi/endpoints/webhooks
497497
permanent: true
498+
- source: /learn/api-definitions/openapi/overlay-customizations
499+
destination: /learn/api-definitions/overview/overrides
500+
permanent: true
501+
- source: /learn/api-definitions/asyncapi/overlay-customizations
502+
destination: /learn/api-definitions/overview/overrides
503+
permanent: true
504+
- source: /learn/api-definitions/openrpc/overlay-customizations
505+
destination: /learn/api-definitions/overview/overrides
506+
permanent: true
507+
- source: /learn/api-definitions/grpc/overlay-customizations
508+
destination: /learn/api-definitions/overview/overrides
509+
permanent: true
498510

499511
# API Definition Fern specific redirects first
500512
- source: /learn/api-definition/fern/endpoints/:slug*

fern/products/api-def/api-def.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ navigation:
55
path: ./pages/what-is-an-api-definition.mdx
66
- page: Project structure
77
path: ./pages/project-structure.mdx
8+
- page: Overrides
9+
path: ./pages/overrides.mdx
810
- section: OpenAPI
911
collapsed: true
1012
slug: openapi
@@ -64,8 +66,6 @@ navigation:
6466
- section: Workflow & automation
6567
skip-slug: true
6668
contents:
67-
- page: Overlay customizations
68-
path: ./openapi-pages/overrides.mdx
6969
- page: Sync your OpenAPI specification
7070
path: ./openapi-pages/automation.mdx
7171
- section: Integrate your server framework
@@ -127,8 +127,6 @@ navigation:
127127
- section: Workflow & automation
128128
skip-slug: true
129129
contents:
130-
- page: Overlay customizations
131-
path: ./asyncapi-pages/overrides.mdx
132130
- page: Sync your AsyncAPI specification
133131
path: ./asyncapi-pages/automation.mdx
134132
- section: OpenRPC
@@ -190,8 +188,6 @@ navigation:
190188
- section: Workflow & automation
191189
skip-slug: true
192190
contents:
193-
- page: Overlay customizations
194-
path: ./openrpc-pages/overrides.mdx
195191
- page: Sync your OpenRPC specification
196192
path: ./openrpc-pages/automation.mdx
197193
- section: gRPC
@@ -257,8 +253,6 @@ navigation:
257253
- section: Workflow & automation
258254
skip-slug: true
259255
contents:
260-
- page: Overlay customizations
261-
path: ./grpc-pages/overrides.mdx
262256
- page: Sync your gRPC specification
263257
path: ./grpc-pages/automation.mdx
264258
- section: Fern Definition

fern/products/api-def/asyncapi-pages/extensions/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Overview of AsyncAPI extensions
33
description: Learn about Fern's AsyncAPI extensions for generating higher-quality SDKs
44
---
55

6-
Fern supports a variety of AsyncAPI extensions that enhance your API specification and generate higher-quality SDKs. You can apply these extensions in two ways: by overlaying them in separate override files or by embedding them directly in your AsyncAPI specification.
6+
Fern supports a variety of AsyncAPI extensions that enhance your API specification and generate higher-quality SDKs.
7+
8+
You can apply these extensions in two ways: by overlaying them in separate override files or by embedding them directly in your AsyncAPI specification. See [Overrides](/api-definitions/overview/overrides) for more information.
79

810
## Available extensions
911

@@ -22,6 +24,4 @@ The table below shows all available extensions and links to detailed documentati
2224

2325
<Note title="Request a new extension">
2426
If there's an extension you want that doesn't already exist, file an [issue](https://github.com/fern-api/fern/issues/new) to start a discussion about it.
25-
</Note>
26-
27-
<Markdown src="/snippets/overlay-embed-extensions.mdx" />
27+
</Note>

fern/products/api-def/asyncapi-pages/overrides.mdx

Lines changed: 0 additions & 168 deletions
This file was deleted.

fern/products/api-def/grpc-pages/extensions/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Learn about Fern's gRPC extensions for generating higher-quality SD
55

66
Fern supports a variety of gRPC extensions that enhance your API specification and generate higher-quality SDKs.
77

8+
You can apply these extensions in two ways: by overlaying them in separate override files or by embedding them directly in your gRPC specification. See [Overrides](/api-definitions/overview/overrides) for more information.
9+
810
## Available extensions
911

1012
The table below shows all available extensions and links to detailed documentation for each one.

0 commit comments

Comments
 (0)