Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 67ad181

Browse files
committed
fix: remove metadata and title tags
1 parent fee2b2c commit 67ad181

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

scripts/populate-details.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,12 @@ const renderDetails = (check) => {
5555
// Prepare the markdown files
5656
checks.forEach((check, index) => {
5757
const fileContent = `---
58-
<!-- METADATA:START -->
5958
sidebar_position: ${index + 1}
6059
id: ${check.id}
6160
title: ${check.title}
6261
slug: /details/${check.code_name}
63-
<!-- METADATA:END -->
6462
---
6563
66-
<!-- TITLE:START -->
67-
# ${check.title}
68-
<!-- TITLE:END -->
69-
7064
## Use Case
7165
<!-- LEVELS:START -->
7266
- Incubating: ${check.level_incubating_status}

scripts/populate-implementations.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ const addRow = (item) => `| ${item.section_number}. ${capitalizeWords(item.secti
4040
// Prepare the markdown files
4141
projectStatus.forEach((status, index) => {
4242
let fileContent = `---
43-
<!-- METADATA:START -->
4443
sidebar_position: ${index + 1}
4544
id: ${status}
4645
title: ${status.charAt(0).toUpperCase() + status.slice(1)}
4746
slug: /implementations/${status}
48-
<!-- METADATA:END -->
4947
---
5048
5149
<!-- LIST:START -->
@@ -61,7 +59,7 @@ ${data[status][priority].map(addRow).join('\n')}
6159
`
6260
}).join('\n')
6361

64-
fileContent += '<!-- LIST:END -->'
62+
fileContent += '\n<!-- LIST:END -->'
6563

6664
const destination = path.join(process.cwd(), `docs/implementation/${status}.mdx`)
6765
writeFileSync(destination, fileContent)

0 commit comments

Comments
 (0)