Skip to content

Commit 70e6715

Browse files
ankur-archclaude
andcommitted
docs: dedicated llms.txt sections for Prisma Next and Prisma Compute
Prisma Next content (/next, /orm/next, /guides/next, /cli/next — 68 pages) was split across the orm/guides/cli indexes and the root catch-all; Compute was folded into the platform section. Both now get their own section index (llms/next.txt, llms/compute.txt) with excludePrefixes keeping the sibling sections version-clean, plus a Prisma Next common-query entry. Root catch-all drops from 12 to 3 pages; all sections remain under the 50k budget. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 524b760 commit 70e6715

1 file changed

Lines changed: 29 additions & 6 deletions

File tree

apps/docs/src/lib/llms.ts

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ export const commonQueries: LLMsLink[] = [
6262
href: "/prisma-orm/quickstart/prisma-postgres",
6363
description: "Set up Prisma ORM, Prisma Client, and Prisma Postgres in a new TypeScript app.",
6464
},
65+
{
66+
title: "Try Prisma Next (Early Access)",
67+
href: "/next/getting-started",
68+
description:
69+
"Choose a Prisma Next quickstart for a new project or add Prisma Next to an existing app.",
70+
},
6571
{
6672
title: "Connect to Prisma Postgres",
6773
href: "/postgres/database/connecting-to-your-database",
@@ -156,9 +162,9 @@ export const llmsSections: LLMsSection[] = [
156162
slug: "orm",
157163
title: "Prisma ORM",
158164
description:
159-
"Current Prisma ORM docs: setup, schema modeling, Prisma Client, migrations, and references (excludes legacy v6).",
165+
"Current Prisma ORM docs: setup, schema modeling, Prisma Client, migrations, and references (excludes legacy v6 and Prisma Next).",
160166
prefixes: ["/orm", "/prisma-orm"],
161-
excludePrefixes: ["/orm/v6"],
167+
excludePrefixes: ["/orm/v6", "/orm/next"],
162168
},
163169
{
164170
slug: "orm-v6",
@@ -167,6 +173,13 @@ export const llmsSections: LLMsSection[] = [
167173
"Legacy Prisma ORM v6 documentation, maintained for backwards compatibility only. Prefer the current Prisma ORM section for new work.",
168174
prefixes: ["/orm/v6"],
169175
},
176+
{
177+
slug: "next",
178+
title: "Prisma Next (Early Access)",
179+
description:
180+
"Prisma Next, the next major version of Prisma ORM, available in Early Access. A ground-up TypeScript rewrite that keeps the schema-first workflow while making it extensible, composable, and AI-agent friendly. Covers setup, ORM, guides, and CLI docs for Prisma Next.",
181+
prefixes: ["/next", "/orm/next", "/guides/next", "/cli/next"],
182+
},
170183
{
171184
slug: "postgres",
172185
title: "Prisma Postgres",
@@ -178,8 +191,9 @@ export const llmsSections: LLMsSection[] = [
178191
slug: "guides",
179192
title: "Guides",
180193
description:
181-
"End-to-end guides for using Prisma ORM and Prisma Postgres with popular frameworks and runtimes.",
194+
"End-to-end guides for using Prisma ORM and Prisma Postgres with popular frameworks and runtimes (Prisma Next guides live in the Prisma Next section).",
182195
prefixes: ["/guides"],
196+
excludePrefixes: ["/guides/next"],
183197
},
184198
{
185199
slug: "ai",
@@ -191,15 +205,24 @@ export const llmsSections: LLMsSection[] = [
191205
{
192206
slug: "cli",
193207
title: "Prisma CLI",
194-
description: "Prisma CLI command reference for init, generate, migrate, db, studio, and more.",
208+
description:
209+
"Prisma CLI command reference for init, generate, migrate, db, studio, and more (Prisma Next CLI docs live in the Prisma Next section).",
195210
prefixes: ["/cli"],
211+
excludePrefixes: ["/cli/next"],
196212
},
197213
{
198214
slug: "platform",
199215
title: "Prisma Platform",
200216
description:
201-
"Prisma Console, Prisma Compute, and the Management API for managing projects, environments, and deployments.",
202-
prefixes: ["/console", "/management-api", "/compute"],
217+
"Prisma Console and the Management API for managing projects, environments, and deployments.",
218+
prefixes: ["/console", "/management-api"],
219+
},
220+
{
221+
slug: "compute",
222+
title: "Prisma Compute",
223+
description:
224+
"Prisma Compute (Public Beta): TypeScript app hosting that runs alongside Prisma Postgres, with database branches, isolated branch previews, and a CLI-first deploy workflow.",
225+
prefixes: ["/compute"],
203226
},
204227
{
205228
slug: "studio",

0 commit comments

Comments
 (0)