Skip to content

Commit

Permalink
refactor: update docs with GithubCard
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza committed Dec 9, 2022
1 parent 60d7b1a commit 560e370
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 25 deletions.
8 changes: 3 additions & 5 deletions docs/sdks/server-side/dotnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: .NET SDK
sidebar_label: .NET
---

import {
GitHubBanner
} from "@site/src/components/sdks/GitHubBanner";
import { GithubCard } from "@site/src/components/sdks/GithubCard";

# .NET SDK

<GitHubBanner
<GithubCard
title=".NET SDK"
icon="dotnet"
organization="basis-theory"
Expand All @@ -28,4 +26,4 @@ dotnet add package BasisTheory.net
using BasisTheory.net.Tokens;

var client = new TokenClient("key_N88mVGsp3sCXkykyN2EFED");
```
```
8 changes: 3 additions & 5 deletions docs/sdks/server-side/go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Go SDK
sidebar_label: Go
---

import {
GitHubBanner
} from "@site/src/components/sdks/GitHubBanner";
import { GithubCard } from "@site/src/components/sdks/GithubCard";

# Go SDK

<GitHubBanner
<GithubCard
title="Go SDK"
icon="go"
organization="basis-theory"
Expand Down Expand Up @@ -39,4 +37,4 @@ func main() {
"ApiKey": {Key: "key_N88mVGsp3sCXkykyN2EFED"},
})
}
```
```
8 changes: 3 additions & 5 deletions docs/sdks/server-side/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ sidebar_label: Node.js
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

import {
GitHubBanner
} from "@site/src/components/sdks/GitHubBanner";
import { GithubCard } from "@site/src/components/sdks/GithubCard";

# Node.js SDK

<GitHubBanner
<GithubCard
title="Node.js SDK"
icon="node"
organization="basis-theory"
Expand Down Expand Up @@ -44,4 +42,4 @@ yarn add @basis-theory/basis-theory-js
import { BasisTheory } from "@basis-theory/basis-theory-js";

const bt = await new BasisTheory().init("key_N88mVGsp3sCXkykyN2EFED");
```
```
8 changes: 3 additions & 5 deletions docs/sdks/server-side/python.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Python SDK
sidebar_label: Python
---

import {
GitHubBanner
} from "@site/src/components/sdks/GitHubBanner";
import { GithubCard } from "@site/src/components/sdks/GithubCard";

# Python SDK

<GitHubBanner
<GithubCard
title="Python SDK"
icon="python"
organization="basis-theory"
Expand All @@ -28,4 +26,4 @@ pip install basistheory
import basistheory

with basistheory.ApiClient(configuration=basistheory.Configuration(api_key="key_N88mVGsp3sCXkykyN2EFED")) as api_client:
```
```
8 changes: 3 additions & 5 deletions docs/sdks/server-side/terraform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Terraform SDK
sidebar_label: Terraform
---

import {
GitHubBanner
} from "@site/src/components/sdks/GitHubBanner";
import { GithubCard } from "@site/src/components/sdks/GithubCard";

# Terraform SDK

<GitHubBanner
<GithubCard
title="Terraform SDK"
icon="terraform"
organization="basis-theory"
Expand Down Expand Up @@ -39,4 +37,4 @@ provider "basistheory" {

### Documentation

See the [official Basis Theory Terraform documentation](https://registry.terraform.io/providers/Basis-Theory/basistheory/latest/docs).
See the [official Basis Theory Terraform documentation](https://registry.terraform.io/providers/Basis-Theory/basistheory/latest/docs).

0 comments on commit 560e370

Please sign in to comment.