From 5680005bd018e84a725c7a067f24daf0c5d31007 Mon Sep 17 00:00:00 2001 From: Simon Hyll Date: Wed, 24 Apr 2024 00:56:35 +0200 Subject: [PATCH] fix: javascript reference package titles --- packages/js-api-generator/build.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,