Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions fern/products/sdks/overview/python/publishing-to-pypi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ groups:

<Step title="Add PyPI metadata (optional)">

You can add metadata to your PyPI package to improve discoverability and provide additional information to users. This metadata appears on your package's PyPI page and includes `keywords` for PyPI search and discovery, `documentation-link` for your package documentation, and `homepage-link` for your project homepage.
You can add publishing metadata to your PyPI package to improve discoverability and provide additional information to users. This metadata appears on your package's PyPI page and includes `keywords` for PyPI search and discovery, `documentation-link` for your package documentation, and `homepage-link` for your project homepage.

You can additionally add general metadata for the SDK (description, contact email, author, license, etc.) at [the individual SDK level](/learn/sdks/reference/generators-yml#metadata-2) or [globally for all SDKs](/learn/sdks/reference/generators-yml#metadata).


```yaml title="generators.yml" {9-12}
```yaml title="generators.yml" {9, 13}
groups:
python-sdk:
generators:
Expand All @@ -96,10 +98,12 @@ groups:
output:
location: pypi
package-name: your-package-name
metadata:
metadata: # Publishing metadata
keywords: ["api", "sdk", "client"]
documentation-link: "https://docs.yourcompany.com"
homepage-link: "https://yourcompany.com"
metadata: # General SDK metadata
license: MIT
config:
client_class_name: YourClientName
```
Expand Down
2 changes: 1 addition & 1 deletion fern/products/sdks/reference/generators-yml-reference.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: generators.yml configuration schema
description: Reference for the generators.yml configuration
max-toc-depth: 2
max-toc-depth: 3
---

The `generators.yml` file configures how Fern generates SDKs from your API
Expand Down
Loading