Skip to content

Commit 13d4607

Browse files
[autofix.ci] apply automated fixes
1 parent 2b02f50 commit 13d4607

File tree

6 files changed

+12
-36
lines changed

6 files changed

+12
-36
lines changed

packages/marketing/app/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default async function Page(props: { params: Promise<{ slug?: string[] }>
1111
const MDX = page.data.body;
1212

1313
return (
14-
<DocsPage toc={page.data.toc} tableOfContent={{style: "clerk"}} full={page.data.full}>
14+
<DocsPage toc={page.data.toc} tableOfContent={{ style: "clerk" }} full={page.data.full}>
1515
<DocsTitle>{page.data.title}</DocsTitle>
1616
<DocsDescription>{page.data.description}</DocsDescription>
1717
<DocsBody>

packages/marketing/content/docs/api/05-client-sdk.mdx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,9 @@ The Helper Client SDK provides a comprehensive JavaScript/TypeScript library for
1313
## Installation
1414

1515
<Tabs groupId="install" items={["npm", "yarn", "pnpm"]} persist>
16-
<Tab value="npm">
17-
```bash
18-
npm install @helper/client
19-
```
20-
</Tab>
21-
<Tab value="yarn">
22-
```bash
23-
yarn add @helper/client
24-
```
25-
</Tab>
26-
<Tab value="pnpm">
27-
```bash
28-
pnpm add @helper/client
29-
```
30-
</Tab>
16+
<Tab value="npm">```bash npm install @helper/client ```</Tab>
17+
<Tab value="yarn">```bash yarn add @helper/client ```</Tab>
18+
<Tab value="pnpm">```bash pnpm add @helper/client ```</Tab>
3119
</Tabs>
3220

3321
## Setup

packages/marketing/content/docs/api/06-react-hooks.mdx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,9 @@ The Helper React package provides a collection of React hooks and components tha
1313
## Installation
1414

1515
<Tabs groupId="install" items={["npm", "yarn", "pnpm"]} persist>
16-
<Tab value="npm">
17-
```bash
18-
npm install @helper/react @ai-sdk/react
19-
```
20-
</Tab>
21-
<Tab value="yarn">
22-
```bash
23-
yarn add @helper/react @ai-sdk/react
24-
```
25-
</Tab>
26-
<Tab value="pnpm">
27-
```bash
28-
pnpm add @helper/react @ai-sdk/react
29-
```
30-
</Tab>
16+
<Tab value="npm">```bash npm install @helper/react @ai-sdk/react ```</Tab>
17+
<Tab value="yarn">```bash yarn add @helper/react @ai-sdk/react ```</Tab>
18+
<Tab value="pnpm">```bash pnpm add @helper/react @ai-sdk/react ```</Tab>
3119
</Tabs>
3220

3321
## Setup

packages/marketing/content/docs/widget/04-configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can pass additional customer information to Helper through metadata:
4040

4141
Example metadata configuration:
4242

43-
```ts title="metadata.ts"
43+
```ts title="metadata.ts"
4444
metadata: {
4545
value: 500, // Customer value in your currency
4646
name: "Jane Smith",
@@ -71,7 +71,7 @@ The `show_toggle_button` option allows you to control the visibility of the togg
7171

7272
Example usage:
7373

74-
```ts title="example.ts"
74+
```ts title="example.ts"
7575
// Initialize widget with toggle button always visible
7676
HelperWidget.init({
7777
mailbox_slug: "your-mailbox",

packages/marketing/content/docs/widget/05-other-frameworks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ If you're using [Turbo](https://turbo.hotwired.dev/) with Rails or other framewo
1717

1818
1. Add the `data-delay-init` attribute to the widget script tag:
1919

20-
```html title="index.html"
20+
```html title="index.html"
2121
<script src="https://<your-helper-host>/widget/sdk.js" data-delay-init></script>
2222
```
2323

2424
2. Handle page navigation events to properly initialize and destroy the widget:
2525

26-
```ts title="metadata.ts"
26+
```ts title="metadata.ts"
2727
const config = {
2828
// ... your configurations
2929
};

packages/marketing/content/source.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { rehypeCode } from "fumadocs-core/mdx-plugins";
12
import { remarkInstall } from "fumadocs-docgen";
23
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
3-
import { rehypeCode } from 'fumadocs-core/mdx-plugins';
44

55
export const docs = defineDocs({
66
dir: "content/docs",

0 commit comments

Comments
 (0)