diff --git a/packages/js-api-generator/build.ts b/packages/js-api-generator/build.ts index 23ea37a98d..c162a410f8 100644 --- a/packages/js-api-generator/build.ts +++ b/packages/js-api-generator/build.ts @@ -137,8 +137,10 @@ function pageEventEnd(event: PageEvent) { } 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,