From 47a851adae920ddddf2ccbffd1e19dbbc349614e Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Thu, 9 Jan 2025 07:56:05 -0600 Subject: [PATCH] fix guide descriptions --- .../800-guides/1000-using-prisma-orm-with-turborepo.mdx | 2 +- .../300-data-migration-with-expand-and-contract.mdx | 2 +- content/800-guides/400-implementing-schema-changes.mdx | 2 +- content/800-guides/500-migrate-from-typeorm.mdx | 4 +--- content/800-guides/5000-guide-on-making-guides.mdx | 8 ++++---- content/800-guides/600-migrate-from-sequelize.mdx | 2 +- content/800-guides/700-migrate-from-mongoose.mdx | 2 +- content/800-guides/800-migrate-from-drizzle.mdx | 2 +- .../900-using-prisma-orm-with-cloudflare-d1.mdx | 2 +- 9 files changed, 12 insertions(+), 14 deletions(-) diff --git a/content/800-guides/1000-using-prisma-orm-with-turborepo.mdx b/content/800-guides/1000-using-prisma-orm-with-turborepo.mdx index d5398d1daf..5c09052a4c 100644 --- a/content/800-guides/1000-using-prisma-orm-with-turborepo.mdx +++ b/content/800-guides/1000-using-prisma-orm-with-turborepo.mdx @@ -1,7 +1,7 @@ --- title: 'Using Prisma with Turborepo' metaTitle: 'Using Prisma with Turborepo' -metaDescription: 'Learn step-by-step how to integrate Prisma ORM with Turborepo to build modular, scalable monorepo architectures efficiently.' +description: 'Learn step-by-step how to integrate Prisma ORM with Turborepo to build modular, scalable monorepo architectures efficiently.' sidebar_label: 'Prisma with Turborepo' image: '/img/guides/prisma-turborepo-setup.png' tags: diff --git a/content/800-guides/300-data-migration-with-expand-and-contract.mdx b/content/800-guides/300-data-migration-with-expand-and-contract.mdx index 119dfe10a1..391a1a0fee 100644 --- a/content/800-guides/300-data-migration-with-expand-and-contract.mdx +++ b/content/800-guides/300-data-migration-with-expand-and-contract.mdx @@ -1,7 +1,7 @@ --- title: 'How to migrate data using the expand and contract pattern' metaTitle: 'How to migrate data using the expand and contract pattern' -metaDescription: 'Learn how to perform data migrations using the expand and contract pattern with Prisma ORM' +description: 'Learn how to perform data migrations using the expand and contract pattern with Prisma ORM' sidebar_label: 'Data migration with expand and contract' image: '/img/guides/data-migration-cover.png' tags: diff --git a/content/800-guides/400-implementing-schema-changes.mdx b/content/800-guides/400-implementing-schema-changes.mdx index f7c2e5368d..71376c590e 100644 --- a/content/800-guides/400-implementing-schema-changes.mdx +++ b/content/800-guides/400-implementing-schema-changes.mdx @@ -1,7 +1,7 @@ --- title: 'How to manage schema changes in a team' metaTitle: 'How to manage schema changes in a team with Prisma Migrate' -metaDescription: 'Learn how to use Prisma Migrate effectively when collaborating on a project as a team' +description: 'Learn how to use Prisma Migrate effectively when collaborating on a project as a team' sidebar_label: 'Team schema changes' image: '/img/guides/schema-migration-cover.png' --- diff --git a/content/800-guides/500-migrate-from-typeorm.mdx b/content/800-guides/500-migrate-from-typeorm.mdx index 8735a9e1a9..911d5f3488 100644 --- a/content/800-guides/500-migrate-from-typeorm.mdx +++ b/content/800-guides/500-migrate-from-typeorm.mdx @@ -1,13 +1,11 @@ --- title: 'How to migrate from TypeORM to Prisma ORM' metaTitle: 'How to migrate from TypeORM to Prisma ORM' -metaDescription: 'Learn how to migrate from TypeORM to Prisma ORM' +description: 'Learn how to migrate from TypeORM to Prisma ORM' sidebar_label: 'Migrate from TypeORM' image: '/img/guides/migrate-from-typeorm-cover.png' --- -# How to migrate from TypeORM to Prisma ORM - ## Introduction This guide shows you how to migrate your application from TypeORM to Prisma ORM. We'll use an extended version of the [TypeORM Express example](https://github.com/typeorm/typescript-express-example/) as a [sample project](https://github.com/prisma/migrate-from-typeorm-to-prisma) to demonstrate the migration steps. diff --git a/content/800-guides/5000-guide-on-making-guides.mdx b/content/800-guides/5000-guide-on-making-guides.mdx index 1a9ea8dd39..62f78c35f8 100644 --- a/content/800-guides/5000-guide-on-making-guides.mdx +++ b/content/800-guides/5000-guide-on-making-guides.mdx @@ -1,7 +1,7 @@ --- title: 'How to write guides for Prisma ORM' metaTitle: 'How to write guides for Prisma ORM' -metaDescription: 'Learn how to write clear, consistent, and helpful guides for Prisma ORM documentation' +description: 'Learn how to write clear, consistent, and helpful guides for Prisma ORM documentation' sidebar_label: 'Guide writing guide' image: '/img/guides/guide-writing-guide-cover.png' --- @@ -29,15 +29,15 @@ Every guide must include the following frontmatter at the top of the file: --- title: 'How to [do something] with Prisma ORM' metaTitle: 'How to [do something] with Prisma ORM' -metaDescription: 'Learn how to [do something] with Prisma ORM' +description: 'Learn how to [do something] with Prisma ORM' sidebar_label: '[Concise Label]' image: '/img/guides/[guide-name]-cover.png' --- ``` - `title`: Should be action-oriented and start with "How to" -- `metaTitle`: Usually matches the title -- `metaDescription`: A one-sentence summary starting with "Learn how to" +- `metaTitle`: Usually matches the title, used for SEO +- `description`: A one-sentence summary starting with "Learn how to", used for SEO - `sidebar_label`: A concise label for the sidebar navigation - `image`: A unique header image for social media sharing (coordinate with the design team) diff --git a/content/800-guides/600-migrate-from-sequelize.mdx b/content/800-guides/600-migrate-from-sequelize.mdx index f71a3fab08..2653b5648f 100644 --- a/content/800-guides/600-migrate-from-sequelize.mdx +++ b/content/800-guides/600-migrate-from-sequelize.mdx @@ -1,7 +1,7 @@ --- title: 'How to migrate from Sequelize to Prisma ORM' metaTitle: 'How to migrate from Sequelize to Prisma ORM' -metaDescription: 'Learn how to migrate from Sequelize to Prisma ORM' +description: 'Learn how to migrate from Sequelize to Prisma ORM' sidebar_label: 'Migrate from Sequelize' image: '/img/guides/migrate-from-sequelize-cover.png' --- diff --git a/content/800-guides/700-migrate-from-mongoose.mdx b/content/800-guides/700-migrate-from-mongoose.mdx index fd68b3600a..b99cea951b 100644 --- a/content/800-guides/700-migrate-from-mongoose.mdx +++ b/content/800-guides/700-migrate-from-mongoose.mdx @@ -1,7 +1,7 @@ --- title: 'How to migrate from Mongoose to Prisma ORM' metaTitle: 'How to migrate from Mongoose to Prisma ORM' -metaDescription: 'Learn how to migrate from Mongoose to Prisma ORM' +description: 'Learn how to migrate from Mongoose to Prisma ORM' sidebar_label: 'Migrate from Mongoose' image: '/img/guides/migrate-from-mongoose-cover.png' --- diff --git a/content/800-guides/800-migrate-from-drizzle.mdx b/content/800-guides/800-migrate-from-drizzle.mdx index 24cc2bc619..75d5284ef6 100644 --- a/content/800-guides/800-migrate-from-drizzle.mdx +++ b/content/800-guides/800-migrate-from-drizzle.mdx @@ -1,7 +1,7 @@ --- title: 'How to migrate from Drizzle to Prisma ORM' metaTitle: 'How to migrate from Drizzle to Prisma ORM' -metaDescription: 'Learn how to migrate from Drizzle to Prisma ORM' +description: 'Learn how to migrate from Drizzle to Prisma ORM' sidebar_label: 'Migrate from Drizzle' image: '/img/guides/migrate-from-drizzle-cover.png' --- diff --git a/content/800-guides/900-using-prisma-orm-with-cloudflare-d1.mdx b/content/800-guides/900-using-prisma-orm-with-cloudflare-d1.mdx index 4d8dcfa618..d52cd0807e 100644 --- a/content/800-guides/900-using-prisma-orm-with-cloudflare-d1.mdx +++ b/content/800-guides/900-using-prisma-orm-with-cloudflare-d1.mdx @@ -1,7 +1,7 @@ --- title: 'How to use Prisma ORM with Cloudflare D1' metaTitle: 'How to use Prisma ORM with Cloudflare D1' -metaDescription: 'Learn how to use Prisma ORM with Cloudflare D1' +description: 'Learn how to use Prisma ORM with Cloudflare D1' sidebar_label: 'Use with Cloudflare D1' image: '/img/guides/prisma-d1-setup-cover.png' ---