Skip to content

Commit

Permalink
yarn pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Mar 29, 2024
1 parent 6172f46 commit 30ff342
Show file tree
Hide file tree
Showing 20 changed files with 8,089 additions and 12 deletions.
71 changes: 71 additions & 0 deletions generator/konfig-docs/src/pages/sdk/buttondown/index.tsx
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.`}
/>
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```typescript index.ts
// List Exports
const listExportsResponse = buttondown.export.listExports()
```
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()
```
Loading

0 comments on commit 30ff342

Please sign in to comment.