diff --git a/docs/src/routes/reference/preview-directive.mdx b/docs/src/routes/reference/preview-directive.mdx index e586f61..b55ef33 100644 --- a/docs/src/routes/reference/preview-directive.mdx +++ b/docs/src/routes/reference/preview-directive.mdx @@ -2,7 +2,7 @@ title: Preview Directive badges: - icon: npm - label: since v0.5.1 + label: since v0.6.0 - icon: source label: Source url: https://github.com/kobaltedev/solidbase/blob/main/src/config/remark-plugins/preview.ts diff --git a/package.json b/package.json index c2e5913..38928c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kobalte/solidbase", - "version": "0.5.1-dev", + "version": "0.6.1-dev", "description": "Fully featured, fully customisable static site generation for SolidStart", "type": "module", "sideEffects": true, diff --git a/src/config/sidebar.ts b/src/config/sidebar.ts index 65fc8fd..94dedcd 100644 --- a/src/config/sidebar.ts +++ b/src/config/sidebar.ts @@ -124,13 +124,11 @@ function getMatterData(filePath: string): { title?: string } & {} { } function formatTitle(filePath: string): string { - return removeParenthesesGroups( - stripExtension(filePath) - .substring(1) - .split("-") - .map((s) => s.charAt(0).toUpperCase() + s.slice(1)) - .join(" "), - ); + return removeParenthesesGroups(stripExtension(filePath)) + .substring(1) + .split("-") + .map((s) => s.charAt(0).toUpperCase() + s.slice(1)) + .join(" "); } function removeParenthesesGroups(s: string) {