Skip to content

Commit f1567a7

Browse files
committed
Hacky workaround (for now)
1 parent 07b7f52 commit f1567a7

File tree

14 files changed

+16
-14
lines changed

14 files changed

+16
-14
lines changed

src/components/overrides/Head.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ if (
129129
130130
if (frontmatter.pcx_content_type) {
131131
["pcx_content_type", "algolia_content_type"].map((name) => {
132+
const contentType = frontmatter.pcx_content_type
133+
const updatedName = (contentType?.charAt(0).toUpperCase() + contentType?.slice(1))?.replace("-", " ")
132134
metaTags.push({
133135
name,
134-
content: frontmatter.pcx_content_type as string,
136+
content: updatedName as string,
135137
});
136138
});
137139
}

src/content/docs/autorag/platform/release-note.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
pcx_content_type: Release notes
2+
pcx_content_type: release-notes
33
title: Release note
44
release_notes_file_name:
55
- autorag

src/content/docs/hyperdrive/examples/connect-to-mysql/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
type: overview
3-
pcx_content_type: content
3+
pcx_content_type: example
44
title: Connect to MySQL
55
hideChildren: false
66
sidebar:

src/content/docs/turnstile/migration/hcaptcha.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Migrate from hCaptcha
3-
pcx_content_type: migration
3+
pcx_content_type: how-to
44
sidebar:
55
order: 2
66

src/content/docs/turnstile/migration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Migration
3-
pcx_content_type: migration
3+
pcx_content_type: navigation
44
sidebar:
55
order: 2
66
---

src/content/docs/turnstile/migration/recaptcha.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Migrate from reCAPTCHA
3-
pcx_content_type: migration
3+
pcx_content_type: how-to
44
sidebar:
55
order: 1
66

src/content/docs/workers/languages/python/examples.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
pcx_content_type: content
2+
pcx_content_type: example
33
title: Examples
44
head:
55
- tag: title

src/content/docs/workers/languages/python/ffi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
pcx_content_type: content
2+
pcx_content_type: reference
33
title: Foreign Function Interface (FFI)
44
head:
55
- tag: title

src/content/docs/workers/languages/python/how-python-workers-work.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
pcx_content_type: content
2+
pcx_content_type: concept
33
title: How Python Workers Work
44
sidebar:
55
order: 1

src/content/docs/workers/languages/python/packages/fastapi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
pcx_content_type: content
2+
pcx_content_type: reference
33
title: FastAPI
44
head:
55
- tag: title

0 commit comments

Comments
 (0)