diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index 3024a5db..b07f1539 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -93,7 +93,7 @@ export const theme: Theme = themePlume({ repoId: 'R_kgDOG_ebNA', category: 'docs-comment', categoryId: 'DIC_kwDOG_ebNM4Cd0uF', - mapping: 'url', + mapping: 'pathname', reactionsEnabled: true, inputPosition: 'top', darkTheme: 'dark_protanopia', diff --git a/theme/src/client/config.ts b/theme/src/client/config.ts index 4feb3d30..c8c65714 100644 --- a/theme/src/client/config.ts +++ b/theme/src/client/config.ts @@ -17,10 +17,6 @@ export default defineClientConfig({ // global component app.component('Badge', Badge) - if (app._context.components.ExternalLinkIcon) - delete app._context.components.ExternalLinkIcon - app.component('ExternalLinkIcon', ExternalLinkIcon) - app.component('DocSearch', () => { const SearchComponent = app.component('Docsearch') || app.component('SearchBox')