Commit cb92a43
committed
improvement(docs): remove Ask AI, add missing surfaces, align sidebar to the app
- Removes the Ask AI widget, its /api/chat route, and the four deps exclusive
to it (@ai-sdk/openai, @ai-sdk/react, ai, streamdown). lib/embeddings and
docsEmbeddings stay — /api/search uses them.
- Adds --surface-7 and --surface-hover, the last two platform surfaces docs
lacked.
- Aligns the sidebar with the app's canonical nav chrome: px-2.5 -> px-2,
text-small -> text-sm, hover --surface-3 -> --surface-active, and an active
hover of --surface-6, matching the Chip the app's sidebar items are built on.1 parent fb7fd5b commit cb92a43
8 files changed
Lines changed: 14 additions & 683 deletions
File tree
- apps/docs
- app
- [lang]
- api/chat
- components
- ai
- docs-layout
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
This file was deleted.
0 commit comments