Skip to content

Commit 2392456

Browse files
docs: fix links (TanStack#78)
* minor fix * config format fix * link fix
1 parent b25eb78 commit 2392456

2 files changed

Lines changed: 9 additions & 19 deletions

File tree

docs/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
{
1717
"label": "Quick Start",
1818
"to": "getting-started/quick-start"
19+
},
20+
{
21+
"label": "Devtools",
22+
"to": "getting-started/devtools"
1923
}
2024
]
2125
},

docs/getting-started/quick-start.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,14 @@ Get started with TanStack AI in minutes. This guide will walk you through creati
77

88
## Installation
99

10-
<!-- ::tabs:start id="install" -->
11-
12-
# npm
13-
1410
```bash
1511
npm install @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
16-
```
17-
18-
# pnpm
19-
20-
```bash
12+
# or
2113
pnpm add @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
22-
```
23-
24-
# Yarn
25-
26-
```bash
14+
#or
2715
yarn add @tanstack/ai @tanstack/ai-react @tanstack/ai-openai
2816
```
2917

30-
<!-- ::tabs:end -->
31-
3218
## Server Setup
3319

3420
First, create an API route that handles chat requests. Here's a simplified example:
@@ -203,6 +189,6 @@ chat({ tools: [getProducts] })
203189

204190
## Next Steps
205191

206-
- Learn about [Tools](../guides/tools) to add function calling
207-
- Check out [Client Tools](../guides/client-tools) for frontend operations
208-
- See the [API Reference](../api/ai) for more options
192+
- Learn about [Tools](../../guides/tools) to add function calling
193+
- Check out [Client Tools](../../guides/client-tools) for frontend operations
194+
- See the [API Reference](../../api/ai) for more options

0 commit comments

Comments
 (0)