This repository was archived by the owner on Jan 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -55,18 +55,12 @@ const renderDetails = (check) => {
55
55
// Prepare the markdown files
56
56
checks . forEach ( ( check , index ) => {
57
57
const fileContent = `---
58
- <!-- METADATA:START -->
59
58
sidebar_position: ${ index + 1 }
60
59
id: ${ check . id }
61
60
title: ${ check . title }
62
61
slug: /details/${ check . code_name }
63
- <!-- METADATA:END -->
64
62
---
65
63
66
- <!-- TITLE:START -->
67
- # ${ check . title }
68
- <!-- TITLE:END -->
69
-
70
64
## Use Case
71
65
<!-- LEVELS:START -->
72
66
- Incubating: ${ check . level_incubating_status }
Original file line number Diff line number Diff line change @@ -40,12 +40,10 @@ const addRow = (item) => `| ${item.section_number}. ${capitalizeWords(item.secti
40
40
// Prepare the markdown files
41
41
projectStatus . forEach ( ( status , index ) => {
42
42
let fileContent = `---
43
- <!-- METADATA:START -->
44
43
sidebar_position: ${ index + 1 }
45
44
id: ${ status }
46
45
title: ${ status . charAt ( 0 ) . toUpperCase ( ) + status . slice ( 1 ) }
47
46
slug: /implementations/${ status }
48
- <!-- METADATA:END -->
49
47
---
50
48
51
49
<!-- LIST:START -->
@@ -61,7 +59,7 @@ ${data[status][priority].map(addRow).join('\n')}
61
59
`
62
60
} ) . join ( '\n' )
63
61
64
- fileContent += '<!-- LIST:END -->'
62
+ fileContent += '\n <!-- LIST:END -->'
65
63
66
64
const destination = path . join ( process . cwd ( ) , `docs/implementation/${ status } .mdx` )
67
65
writeFileSync ( destination , fileContent )
You can’t perform that action at this time.
0 commit comments