Skip to content

Commit fb99f87

Browse files
Fix Python config reference link and revert output section changes
- Updated readme-options.mdx to reference package_name (underscore) in config section - Reverted publishing-to-pypi.mdx output sections back to package-name (hyphen) - The output section uses package-name (hyphen) while config section uses package_name (underscore) Co-Authored-By: [email protected] <[email protected]>
1 parent 396b61c commit fb99f87

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fern/products/sdks/overview/python/publishing-to-pypi.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ groups:
5757
version: <Markdown src="/snippets/version-number-python.mdx"/>
5858
output:
5959
location: pypi
60-
package_name: your-package-name
60+
package-name: your-package-name
6161
```
6262
6363
</Step>
@@ -75,7 +75,7 @@ groups:
7575
version: <Markdown src="/snippets/version-number-python.mdx"/>
7676
output:
7777
location: pypi
78-
package_name: your-package-name
78+
package-name: your-package-name
7979
config:
8080
client_class_name: YourClientName # must be PascalCase
8181
```
@@ -132,7 +132,7 @@ groups:
132132
version: <Markdown src="/snippets/version-number-python.mdx"/>
133133
output:
134134
location: pypi
135-
package_name: your-package-name
135+
package-name: your-package-name
136136
config:
137137
client_class_name: YourClientName
138138
github:
@@ -152,7 +152,7 @@ groups:
152152
version: <Markdown src="/snippets/version-number-python.mdx"/>
153153
output:
154154
location: pypi
155-
package_name: your-package-name
155+
package-name: your-package-name
156156
token: ${PYPI_TOKEN}
157157
config:
158158
client_class_name: YourClientName
@@ -172,7 +172,7 @@ groups:
172172
version: <Markdown src="/snippets/version-number-python.mdx"/>
173173
output:
174174
location: npm
175-
package_name: name-of-your-package
175+
package-name: name-of-your-package
176176
token: ${PYPI_TOKEN}
177177
config:
178178
namespaceExport: YourClientName

fern/products/sdks/snippets/readme-options.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Define a custom section in the generated README for a specific SDK.
9494
| Language | Variable | Description |
9595
|----------|----------|-------------|
9696
| TypeScript | `packageName` | Name of your package, as specified in the [`package-name` field](/sdks/generators/typescript/configuration#package-name) |
97-
| Python | `packageName` | Name of your package, as specified in the [`package-name` field](/sdks/generators/python/configuration#package-name) |
97+
| Python | `packageName` | Name of your package, as specified in the [`package_name` field](/sdks/generators/python/configuration#package_name) |
9898
| Go | `owner` | The owner of your Go module |
9999
| Go | `repo` | The [repository](/sdks/generators/go/publishing#configure-output-location) where your Go module is published |
100100
| Go | `version` | SDK version |
@@ -109,4 +109,4 @@ Define a custom section in the generated README for a specific SDK.
109109

110110
</ParamField>
111111
</Accordion>
112-
</AccordionGroup>
112+
</AccordionGroup>

0 commit comments

Comments
 (0)