Skip to content

Commit c5ffc2e

Browse files
committed
frontmatter and schema cleanup
1 parent 823531a commit c5ffc2e

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

src/content/docs/d1/tutorials/using-read-replication-for-e-com/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ difficulty: Beginner
44
content_type: Tutorial
55
pcx_content_type: tutorial
66
title: Using D1 Read Replication for your e-commerce website
7-
languages:
7+
tags:
88
- JavaScript
99
- TypeScript
1010
- SQL

src/content/docs/durable-objects/tutorials/build-a-seat-booking-app/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ updated: 2024-09-24
33
difficulty: Intermediate
44
pcx_content_type: tutorial
55
title: Build a seat booking app with SQLite in Durable Objects
6-
products:
7-
- Durable Objects
8-
languages:
6+
tags:
97
- TypeScript
108
- SQL
119
---

src/content/docs/style-guide/components/resources-by-selector.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { ResourcesBySelector } from "~/components";
1616
<ResourcesBySelector
1717
directory="workers/examples/"
1818
types={["example"]}
19-
filterables={["languages", "tags"]}
19+
filterables={["tags"]}
2020
/>
2121
```
2222

@@ -28,7 +28,7 @@ import { ResourcesBySelector } from "~/components";
2828

2929
- `filterables` <Type text="string[]" />
3030

31-
An array of frontmatter properties to show in the frontend filter dropdown. For example, `filterables={["languages", "tags"]}` will allow users to filter based on each pages `languages` and `tags` frontmatter.
31+
An array of frontmatter properties to show in the frontend filter dropdown. For example, `filterables={["tags"]}` will allow users to filter based on each pages' `tags` frontmatter.
3232

3333
- `types` <Type text="string[]" />
3434

src/schemas/videos.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ export const videosSchema = z
1313
updated: z.coerce.date(),
1414
difficulty: z.string(),
1515
pcx_content_type: z.string(),
16-
languages: z.string().array().optional(),
1716
})
1817
.strict();

templates/tutorial-template.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ updated: YYYY-MM-DD
33
difficulty: Beginner | Intermediate | Expert
44
pcx_content_type: tutorial
55
title: Tutorial title. Second-person imperative verb phrase that reflects user goal or job-to-be-done. For example, 'Create a Worker' or 'Build a Pages application'.
6-
products:
7-
- Workers
8-
languages:
6+
tags:
97
- TypeScript
108
---
119

0 commit comments

Comments
 (0)