-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dphuang2
committed
Mar 29, 2024
1 parent
6172f46
commit 30ff342
Showing
20 changed files
with
8,089 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
import React from 'react'; | ||
import { Company } from '../../../components/Company'; | ||
|
||
const sdks = [ | ||
{ | ||
"name": "Buttondown", | ||
"numberOfMethods": 28, | ||
"categories": [ | ||
"newsletter", | ||
"communication", | ||
"email", | ||
"marketing" | ||
], | ||
"index": "buttondown/typescript", | ||
"language": "TypeScript", | ||
"link": "/sdk/buttondown/typescript/", | ||
"developerDocumentation": "docs.buttondown.email/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/buttondown/openapi.yaml" | ||
}, | ||
{ | ||
"name": "Buttondown", | ||
"numberOfMethods": 28, | ||
"categories": [ | ||
"newsletter", | ||
"communication", | ||
"email", | ||
"marketing" | ||
], | ||
"index": "buttondown/python", | ||
"language": "Python", | ||
"link": "/sdk/buttondown/python/", | ||
"developerDocumentation": "docs.buttondown.email/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/buttondown/openapi.yaml" | ||
}, | ||
{ | ||
"name": "Buttondown", | ||
"numberOfMethods": 28, | ||
"categories": [ | ||
"newsletter", | ||
"communication", | ||
"email", | ||
"marketing" | ||
], | ||
"index": "buttondown/java", | ||
"language": "Java", | ||
"link": "/sdk/buttondown/java/", | ||
"developerDocumentation": "docs.buttondown.email/", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/buttondown/openapi.yaml" | ||
} | ||
]; | ||
|
||
export default function Buttondown() { | ||
const allCategories: string[] = Array.from( | ||
new Set(sdks.flatMap((service) => service.categories)), | ||
) | ||
return ( | ||
<Company | ||
company="Buttondown" | ||
previewLinkImage="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/buttondown/imagePreview.png" | ||
logo="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/buttondown/logo.png" | ||
favicon="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/buttondown/favicon.png" | ||
sdks={sdks} | ||
homepage="buttondown.email/" | ||
companyKebabCase="buttondown" | ||
categories={allCategories} | ||
metaDescription={`Buttondown is a small, elegant tool for producing newsletters. | ||
The minimalist interface makes it easy for you to write great emails; the automation acts like the editorial assistant you wish you had, by checking for typos, broken links, or malformed images; the portable subscription widget makes it really easy to grow your audience from wherever you host your site.`} | ||
/> | ||
) | ||
} |
4 changes: 4 additions & 0 deletions
4
generator/konfig-docs/src/pages/sdk/buttondown/typescript/_first-request.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
```typescript index.ts | ||
// List Exports | ||
const listExportsResponse = buttondown.export.listExports() | ||
``` |
5 changes: 5 additions & 0 deletions
5
generator/konfig-docs/src/pages/sdk/buttondown/typescript/_getting-started.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
```typescript index.ts | ||
import { Buttondown } from 'buttondown-typescript-sdk'; | ||
|
||
const buttondown = new Buttondown() | ||
``` |
Oops, something went wrong.