Skip to content

Commit 7b361ca

Browse files
feat(docs): various seo updates (#7782)
* feat(docs): various seo updates * chore(docs): remove committed SEO audit file * chore(docs): change to monorepo * chore(docs): make json ld global
1 parent 30c2c7d commit 7b361ca

64 files changed

Lines changed: 197 additions & 117 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/blog/src/app/(blog)/[slug]/page.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
Separator,
1010
} from "@prisma/eclipse";
1111

12+
import { JsonLd } from "@prisma-docs/ui/components/json-ld";
1213
import { FooterNewsletterForm } from "@prisma-docs/ui/components/newsletter";
1314
import { BlogShare } from "@/components/BlogShare";
1415
import { AuthorAvatarGroup } from "@/components/AuthorAvatarGroup";
@@ -153,12 +154,7 @@ export default async function Page(props: {
153154
return (
154155
<div className="w-full px-4 z-1 mx-auto md:grid md:grid-cols-[1fr_180px] mt-4 md:mt-22 gap-12 max-w-257">
155156
{blogPostingJsonLd ? (
156-
<script
157-
type="application/ld+json"
158-
dangerouslySetInnerHTML={{
159-
__html: JSON.stringify(blogPostingJsonLd).replace(/</g, "\\u003c"),
160-
}}
161-
/>
157+
<JsonLd id="blog-posting-structured-data" data={blogPostingJsonLd} />
162158
) : null}
163159
<div className="post-contents w-full">
164160
{/* Title + meta */}

apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Delete compute service
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Deletes a compute service. All compute versions under the service must already be stopped or deleted.'
34
full: true
45
_openapi:
56
method: DELETE
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/compute-services/{computeServiceId}'
1516
url: '/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id'
1617
metaTitle: 'DELETE /v1/compute-services/{computeServiceId} | Delete compute service'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Deletes a compute service. All compute versions under the service must already be stopped or deleted.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Deletes a compute service. All compute versions under the service must already be stopped or deleted.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Delete compute version
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.'
34
full: true
45
_openapi:
56
method: DELETE
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/compute-services/versions/{versionId}'
1516
url: '/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id'
1617
metaTitle: 'DELETE /v1/compute-services/versions/{versionId} | Delete compute version'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/delete-versions-by-version-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Delete compute version
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.'
34
full: true
45
_openapi:
56
method: DELETE
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/versions/{versionId}'
1516
url: '/management-api/endpoints/[experimental]/delete-versions-by-version-id'
1617
metaTitle: 'DELETE /v1/versions/{versionId} | Delete compute version'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: List compute versions
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/compute-services/{computeServiceId}/versions'
1516
url: '/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions'
1617
metaTitle: 'GET /v1/compute-services/{computeServiceId}/versions | List compute versions'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Get compute service
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute service by ID, including its region and latest version reference.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/compute-services/{computeServiceId}'
1516
url: '/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id'
1617
metaTitle: 'GET /v1/compute-services/{computeServiceId} | Get compute service'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns a compute service by ID, including its region and latest version reference.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute service by ID, including its region and latest version reference.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Get compute version
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/compute-services/versions/{versionId}'
1516
url: '/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id'
1617
metaTitle: 'GET /v1/compute-services/versions/{versionId} | Get compute version'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns a compute version by ID, including its current status derived from the underlying VM state.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: List compute services
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: /v1/compute-services
1516
url: '/management-api/endpoints/[experimental]/get-compute-services'
1617
metaTitle: GET /v1/compute-services | List compute services
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: List compute services for a project
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/projects/{projectId}/compute-services'
1516
url: '/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services'
1617
metaTitle: 'GET /v1/projects/{projectId}/compute-services | List compute services for a project'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions-by-version-id.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Get compute version
3+
description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.'
34
full: true
45
_openapi:
56
method: GET
@@ -14,10 +15,7 @@ _openapi:
1415
path: '/v1/versions/{versionId}'
1516
url: '/management-api/endpoints/[experimental]/get-versions-by-version-id'
1617
metaTitle: 'GET /v1/versions/{versionId} | Get compute version'
17-
metaDescription: |-
18-
Management API: ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
19-
20-
Returns a compute version by ID, including its current status derived from the underlying VM state.
18+
metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.'
2119
---
2220

2321
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

0 commit comments

Comments
 (0)