Skip to content

Commit 77158d4

Browse files
committed
add new page
1 parent a57559d commit 77158d4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Configure generators.yml file
3+
subtitle:
4+
---
5+
6+
Most configuration for your documentation site happens in docs.yml, including API reference configuration. However, you can customize how certain aspects of your SDK appears in your reference docs directly in the generators.yml file, the file that configure how your API outputs to SDKs. You can have separate configurations for SDKs and for docs.
7+
8+
SNK snippets are configured in generators.yml and then references in docs.yml. See PAGE.
9+
10+
## APi reference and docs only
11+
If you're only using Fern for API reference and docs, not SDKs, your generators.yml should look very straightforward:
12+
13+
```
14+
api:
15+
specs:
16+
- openapi: ../openapi/openapi.json
17+
```

0 commit comments

Comments
 (0)