Skip to content

Commit

Permalink
fix: javascript reference package titles (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhyll authored Apr 23, 2024
1 parent 8c00860 commit a27fc7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/js-api-generator/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ function pageEventEnd(event: PageEvent<DeclarationReflection>) {
}
const frontmatter = [
'---',
`title: "${event.model.name.replace("@tauri-apps/plugin-", "")}"`,
`title: "${event.model.name}"`,
'editUrl: false',
'sidebar:',
` label: "${event.model.name.replace("@tauri-apps/plugin-", "")}"`,
'---',
'',
event.contents,
Expand Down

0 comments on commit a27fc7d

Please sign in to comment.