removed component link from playground. resolved weird typeerror

This commit is contained in:
Adam Matthiesen 2024-02-20 00:00:38 -08:00
parent 9aa9adb168
commit 8be237e3cc
2 changed files with 3 additions and 8 deletions

View File

@ -15,9 +15,9 @@ export default function starlightGhostCMS(userConfig?: StarlightGhostConfig): St
updateStarlightConfig({
components: {
...starlightConfig.components,
//...overrideStarlightComponent(starlightConfig.components, logger, 'MarkdownContent'),
//...overrideStarlightComponent(starlightConfig.components, logger, 'Sidebar'),
//...overrideStarlightComponent(starlightConfig.components, logger, "SiteTitle"),
...overrideStarlightComponent(starlightConfig.components, logger, 'MarkdownContent'),
...overrideStarlightComponent(starlightConfig.components, logger, 'Sidebar'),
...overrideStarlightComponent(starlightConfig.components, logger, "SiteTitle"),
}
})

View File

@ -8,11 +8,6 @@ export default defineConfig({
starlight({
title: 'My Docs',
plugins: [starlightGhostCMS()],
components: {
Sidebar: '@matthiesenxyz/starlight-ghostcms/overrides/Sidebar.astro',
MarkdownContent: '@matthiesenxyz/starlight-ghostcms/overrides/MarkdownContent.astro',
SiteTitle: '@matthiesenxyz/starlight-ghostcms/overrides/SiteTitle.astro'
},
social: {
github: 'https://github.com/withastro/starlight',
},