Skip to content

Commit e851446

Browse files
committed
refactor: remove unused title generation code in schema documentation script
1 parent e5bfbae commit e851446

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/generate-schema-docs.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,6 @@ export function addFrontMatterToSchemaFiles() {
610610
continue
611611
}
612612

613-
// Generate title from filename
614-
const _title = file
615-
.replace('.md', '')
616-
.replace(/-/g, ' ')
617-
.replace(/\b\w/g, (l) => l.toUpperCase())
618-
619613
// Write content without any front matter
620614
fs.writeFileSync(filePath, content)
621615
}

0 commit comments

Comments
 (0)