refactor(theme)!: remove deprecated `outlineTitle` option

BREAKING CHANGE: The deprecated `themeConfig.outlineTitle` option has been removed. Use `themeConfig.outline.label` instead.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/5335/head
Divyansh Singh 1 month ago
parent 27762eac86
commit 95c042039c

@ -13,7 +13,6 @@ export function resolveTitle(theme: DefaultTheme.Config): string {
(typeof theme.outline === 'object' &&
!Array.isArray(theme.outline) &&
theme.outline.label) ||
theme.outlineTitle ||
'On this page'
)
}

@ -30,13 +30,6 @@ export namespace DefaultTheme {
*/
outline?: Outline | Outline['level'] | false
/**
* @deprecated Use `outline.label` instead.
*
* @default 'On this page'
*/
outlineTitle?: string
/**
* The nav items.
*/

Loading…
Cancel
Save